Color
Tailwind yellow-700
Tailwind yellow-700 (#a65f00) is a medium moderately saturated orange color. In OKLCH it has a lightness of 55%, a chroma of 0.127, and a hue of 62.5°.
- HEX
#a65f00- RGB
rgb(166 95 0)- HSL
hsl(34.3 100% 32.5%)- OKLCH
oklch(0.555 0.127 62.5)
Quick answer
- Text on it: white, 4.93:1 (passes AA).
- As text on white: passes AA, 4.93:1.
- Dark mode: for text and links, use yellow-500 (#be7320), 5.34:1 on the dark page.
- Closest Tailwind color: this is yellow-700.
About this color
Measured from the color itself, not written by hand.
Tailwind yellow-700 (#a65f00) is a medium moderately saturated orange color. In OKLCH it has a lightness of 55%, a chroma of 0.127, and a hue of 62.5°.
White text on it has a contrast ratio of 4.93:1 and black text 4.25:1, so white text is the readable choice. As text, it reaches 4.93:1 on white and 4.25:1 on black.
Tailwind CSS v4 · yellow-700
Tailwind CSS v4 defines this color as oklch(55.4% 0.135 66.442). ColorLint checks its sRGB value, which most screens show.
Text on this color
Which text colors pass on it, and at what sizes.
- White
#ffffff4.93:1Normal text: PassLarge text: PassAAA: Fail - Black
#0000004.25:1Normal text: FailLarge text: PassAAA: Fail - yellow-50
#faf4ee4.51:1Normal text: PassLarge text: PassAAA: Fail - yellow-950
#3e23052.94:1Normal text: FailLarge text: FailAAA: Fail
Good for, and what to avoid
Each use checked against WCAG 2.2, on white and on the dark page (#0d0907).
| Use | Result | Contrast |
|---|---|---|
| Button with white text | Good | 4.93:1, needs 4.5:1 |
| Button with black text | Large text only | 4.25:1, needs 4.5:1 |
| Text or links on white | Good | 4.93:1, needs 4.5:1 |
| Text or links on the dark page | Large text only | 4.02:1, needs 4.5:1 |
| Border, icon, or focus ring on white | Good | 4.93:1, needs 3:1 |
| Border, icon, or focus ring on the dark page | Good | 4.02:1, needs 3:1 |
As a text color
The closest version of this color that passes AA for normal text.
On white
#a65f004.93:1AA normal text: PassAlready passes
See this pairOn black
#ab630a4.52:1AA normal text: PassSame hue
See this pair
In dark mode
From the dark theme ColorLint builds around this color, on a page of #0d0907.
- Buttons: Tailwind yellow-700 becomes #b06915, the nearest version that keeps its label readable for buttons, with dark (#0d0907) label text at 4.60:1. Hover is #c0782b and pressed is #d1873d.
- Text and links: use yellow-500 (#be7320) from its scale: 5.34:1 on the page, the closest step to #a65f00 that reaches 4.5:1.
- Focus ring: #b06915, 4.60:1 against the page (3:1 needed).
Shades from 50 to 950
An OKLCH scale built around this color by the same engine as the Scale Generator.
Harmonies
Hue offsets in OKLCH, keeping lightness and in-gamut chroma.
Complementary
180°
Analogous
−30°, +30°
Triadic
−120°, +120°
Split-complementary
150°, 210°
Tetradic
90°, 180°, 270°
Color-blind simulation
How this color may look with four types of color vision deficiency.
Protanopia
no red cones
#756600SimulationDeuteranopia
no green cones
#867701SimulationTritanopia
no blue cones
#b64e50SimulationAchromatopsia
no color vision
#707070Simulation
Similar named colors
The nearest colors from the Tailwind, Material, and CSS lists.
Matching colors in other lists
Color-blind confusion
1 of the common status colors can look like #a65f00 with some types of color blindness.
- With deuteranopia, it can look like red-600 (#e7000b), so add a label or an icon wherever these two colors mark different things.
In our palettes
1 palette in the library uses #a65f00 or a color close to it.
- Harvest Table: its primary color is similar (#a16207).
Contrast pages for this color
Prepared contrast checks that use this color.
ColorLint checks color contrast only. Passing pairs do not mean a page is accessible. 4 text pairs checked; 0 could not be judged.