#CBA240
Closest named color: Yellow Ochre (#CB9D06). oklch(73.2% 0.124 85.8), rgb(203, 162, 64).
Aa
Black text reads best on this color (8.78:1).
About this color
#CBA240 is a medium-light, moderately saturated orange. In OKLCH its lightness is 73%, its chroma 0.124 and its hue 86°. Its hue sits on the warm side of the wheel. The nearest named color is Yellow Ochre (#CB9D06), ΔE 0.026 away. Black text reads best on it, at 8.78:1.
| Hue family | Oranges |
| Lightness | medium-light (73%) |
| Chroma | moderately saturated (0.124) |
| Temperature | warm |
| Nearest name | Yellow Ochre (#CB9D06) |
| Black text | 8.78:1 |
| White text | 2.39:1 |
Values
| HEX | #CBA240 |
| RGB | rgb(203, 162, 64) |
| HSL | hsl(42, 57%, 52%) |
| OKLCH | oklch(73.2% 0.124 85.8) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #CBA240 | 2.39:1 | Fails | Lc -51.9 | Large or bold text, headings |
| Black text on #CBA240 | 8.78:1 | AAA | Lc 57.0 | Large or bold text, headings |
| #CBA240 text on white | 2.39:1 | Fails | Lc 47.0 | Large or bold text, headings |
| #CBA240 text on black | 8.78:1 | AAA | Lc -55.1 | Large or bold text, headings |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#F8F5EE
oklch(97.1% 0.01 87.5)
-
Step 100
100
#F1E9D9
oklch(93.6% 0.023 84.6)
-
Step 200
200
#E6D8BA
oklch(88.6% 0.043 86)
-
Step 300
300
#D7BE87
oklch(81% 0.077 86.2)
-
Step 400
400 (this color)
#CBA240
oklch(73.2% 0.124 85.8)
-
Step 500
500
#AC8200
oklch(63% 0.129 85.7)
-
Step 600
600
#916D00
oklch(55.6% 0.114 85.6)
-
Step 700
700
#7A5B00
oklch(49% 0.1 85.4)
-
Step 800
800
#644B00
oklch(42.8% 0.087 86.6)
-
Step 900
900
#543E00
oklch(37.8% 0.077 85.9)
-
Step 950
950
#322400
oklch(27% 0.055 86.6)
#CBA240 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #B5A134 | 0.038 |
| Deuteranopia (no green cones) | #BFAC44 | 0.030 |
| Tritanopia (no blue cones) | #DC948D | 0.111 |
| Achromatopsia (no color) | #A8A8A8 | 0.124 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CBA240
#CBA240
oklch(73.2% 0.124 85.8)
- #83A6F6
#83A6F6
oklch(73.2% 0.123 265.5)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CBA240, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Yellow Ochre #CB9D06 ΔE 0.026
- Camel #C69F59 ΔE 0.027
- Sand Brown #CBA560 ΔE 0.029
- Ocre #C69C04 ΔE 0.030
- Goldenrod #DAA520 ΔE 0.031
- Desert #CCAD60 ΔE 0.034
- Ocher #BF9B0C ΔE 0.037
- Burnt Yellow #D5AB09 ΔE 0.041
Use #CBA240 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.