Ocher #BF9B0C
Ocher is a medium-light, vivid yellow with hex code #BF9B0C and RGB rgb(191, 155, 12).
Aa
Black text reads best on this color (7.90:1).
About this color
#BF9B0C is a medium-light, vivid yellow. In OKLCH its lightness is 70%, its chroma 0.142 and its hue 92°. Its hue sits on the warm side of the wheel. It is the named color Ocher. Black text reads best on it, at 7.90:1.
| Hue family | Yellows |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.142) |
| Temperature | warm |
| Nearest name | Ocher |
| Black text | 7.90:1 |
| White text | 2.65:1 |
Colors that go with Ocher
Matches found by rotating Ocher around the OKLCH hue wheel, each labelled with the closest name in our list.
Complementary
The opposite hue (180°).
Analogous
Neighbouring hues, 30° either side.
Triadic
Three hues spaced 120° apart.
Color palettes with Ocher
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Ocher, closest first.
Similar named colors
The eight named colors closest to Ocher, with their ΔE distance.
- Ocre #C69C04 ΔE 0.012
- Yellow Ochre #CB9D06 ΔE 0.021
- Yellow Brown #B79400 ΔE 0.023
- Brown Yellow #B29705 ΔE 0.024
- Dark Gold #B59410 ΔE 0.026
- Ochre #BF9005 ΔE 0.028
- Muddy Yellow #BFAC05 ΔE 0.045
- Camel #C69F59 ΔE 0.052
More about Ocher
How to make Ocher
A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.
- 3 parts orange
- 3 parts yellow
- 1 part blue
Recipe result: #B9A02D, a difference of ΔE 0.017 from Ocher. That is very close: most people will not see the difference.
Codes for Ocher in every format
| HEX | #BF9B0C |
| RGB | rgb(191, 155, 12) |
| HSL | hsl(48, 88%, 40%) |
| OKLCH | oklch(70.2% 0.142 91.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 #BF9B0C | 2.65:1 | Fails | Lc -56.6 | Large or bold text, headings |
| Black text on #BF9B0C | 7.90:1 | AAA | Lc 52.6 | Large or bold text, headings |
| #BF9B0C text on white | 2.65:1 | Fails | Lc 51.5 | Large or bold text, headings |
| #BF9B0C text on black | 7.90:1 | AAA | Lc -50.4 | Large or bold text, headings |
Shades and tints of Ocher
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
#F8F5ED
oklch(97% 0.011 89.7)
-
Step 100
100
#F0EAD7
oklch(93.7% 0.026 92.4)
-
Step 200
200
#E5D9B5
oklch(88.6% 0.049 91.8)
-
Step 300
300
#D5BF7D
oklch(80.8% 0.088 91.7)
-
Step 400
400 (this color)
#BF9B0C
oklch(70.2% 0.142 91.8)
-
Step 500
500
#A68600
oklch(63.2% 0.129 91.9)
-
Step 600
600
#8B7000
oklch(55.5% 0.114 92)
-
Step 700
700
#755E00
oklch(49.1% 0.1 92.1)
-
Step 800
800
#604D00
oklch(42.7% 0.087 92.5)
-
Step 900
900
#504000
oklch(37.8% 0.077 92.8)
-
Step 950
950
#302500
oklch(26.9% 0.055 91.9)
Ocher 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) | #AE9900 | 0.029 |
| Deuteranopia (no green cones) | #B7A31C | 0.022 |
| Tritanopia (no blue cones) | #D08D84 | 0.129 |
| Achromatopsia (no color) | #9F9F9F | 0.142 |
Use Ocher 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.