#BDB311
Closest named color: Olive Yellow (#C2B709). oklch(75.1% 0.157 105.5), rgb(189, 179, 17).
Aa
Black text reads best on this color (9.61:1).
About this color
#BDB311 is a medium-light, vivid yellow. In OKLCH its lightness is 75%, its chroma 0.157 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.014 away. Black text reads best on it, at 9.61:1.
| Hue family | Yellows |
| Lightness | medium-light (75%) |
| Chroma | vivid (0.157) |
| Temperature | warm |
| Nearest name | Olive Yellow (#C2B709) |
| Black text | 9.61:1 |
| White text | 2.18:1 |
Values
| HEX | #BDB311 |
| RGB | rgb(189, 179, 17) |
| HSL | hsl(57, 83%, 40%) |
| OKLCH | oklch(75.1% 0.157 105.5) |
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 #BDB311 | 2.18:1 | Fails | Lc -47.5 | Large or bold text, headings |
| Black text on #BDB311 | 9.61:1 | AAA | Lc 61.2 | Content text, not long reading |
| #BDB311 text on white | 2.18:1 | Fails | Lc 42.8 | Non-text elements, placeholder text |
| #BDB311 text on black | 9.61:1 | AAA | Lc -59.4 | 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
#F6F6EC
oklch(97% 0.013 106.6)
-
Step 100
100
#ECEBD6
oklch(93.5% 0.028 104.7)
-
Step 200
200
#DEDCB3
oklch(88.6% 0.054 105.1)
-
Step 300
300
#C9C578
oklch(80.9% 0.099 105.8)
-
Step 400
400 (this color)
#BDB311
oklch(75.1% 0.157 105.5)
-
Step 500
500
#958D00
oklch(63% 0.134 105.6)
-
Step 600
600
#7E7600
oklch(55.5% 0.118 104.9)
-
Step 700
700
#696300
oklch(49% 0.104 105.5)
-
Step 800
800
#565100
oklch(42.6% 0.091 105.5)
-
Step 900
900
#484300
oklch(37.6% 0.08 104.8)
-
Step 950
950
#2B2800
oklch(27.1% 0.058 105.3)
#BDB311 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) | #C4AC00 | 0.019 |
| Deuteranopia (no green cones) | #C7B225 | 0.018 |
| Tritanopia (no blue cones) | #CCA698 | 0.143 |
| Achromatopsia (no color) | #AFAFAF | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BDB311
#BDB311
oklch(75.1% 0.157 105.5)
- #A7A1FF
#A7A1FF
oklch(75.1% 0.134 285.6)
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 #BDB311, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Yellow #C2B709 ΔE 0.014
- Muddy Yellow #BFAC05 ΔE 0.018
- Mustard #CEB301 ΔE 0.025
- Mustard Green #A8B504 ΔE 0.031
- Dark Yellow #D5B60A ΔE 0.038
- Burnt Yellow #D5AB09 ΔE 0.040
- Mustard Yellow #D2BD0A ΔE 0.043
- Pea #A4BF20 ΔE 0.044
Use #BDB311 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.