#BBB271
Closest named color: Dark Khaki (#BDB76B). oklch(75.6% 0.086 101.4), rgb(187, 178, 113).
Aa
Black text reads best on this color (9.71:1).
About this color
#BBB271 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.086 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.017 away. Black text reads best on it, at 9.71:1.
| Hue family | Yellows |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.086) |
| Temperature | warm |
| Nearest name | Dark Khaki (#BDB76B) |
| Black text | 9.71:1 |
| White text | 2.16:1 |
Values
| HEX | #BBB271 |
| RGB | rgb(187, 178, 113) |
| HSL | hsl(53, 35%, 59%) |
| OKLCH | oklch(75.6% 0.086 101.4) |
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 #BBB271 | 2.16:1 | Fails | Lc -47.1 | Large or bold text, headings |
| Black text on #BBB271 | 9.71:1 | AAA | Lc 61.5 | Content text, not long reading |
| #BBB271 text on white | 2.16:1 | Fails | Lc 42.4 | Non-text elements, placeholder text |
| #BBB271 text on black | 9.71:1 | AAA | Lc -59.8 | 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
#F6F6F0
oklch(97.1% 0.008 106.5)
-
Step 100
100
#ECEADF
oklch(93.6% 0.015 98.3)
-
Step 200
200
#DDDAC4
oklch(88.5% 0.03 100.6)
-
Step 300
300
#C7C29B
oklch(80.8% 0.053 101.4)
-
Step 400
400 (this color)
#BBB271
oklch(75.6% 0.086 101.4)
-
Step 500
500
#988B32
oklch(63.1% 0.11 100.9)
-
Step 600
600
#827500
oklch(55.7% 0.116 101.7)
-
Step 700
700
#6D6200
oklch(49.1% 0.103 101.8)
-
Step 800
800
#5A5000
oklch(42.8% 0.089 101.1)
-
Step 900
900
#4A420C
oklch(37.6% 0.071 100.5)
-
Step 950
950
#2B270A
oklch(27% 0.045 101.5)
#BBB271 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) | #BDAE6C | 0.010 |
| Deuteranopia (no green cones) | #C0B274 | 0.009 |
| Tritanopia (no blue cones) | #C5AAA2 | 0.077 |
| Achromatopsia (no color) | #B0B0B0 | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BBB271
#BBB271
oklch(75.6% 0.086 101.4)
- #A6AAE6
#A6AAE6
oklch(75.7% 0.086 281.2)
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 #BBB271, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Khaki #BDB76B ΔE 0.017
- Sandstone #C9AE74 ΔE 0.024
- Desert #CCAD60 ΔE 0.028
- Toupe #C7AC7D ΔE 0.031
- Fawn #CFAF7B ΔE 0.035
- Sand Brown #CBA560 ΔE 0.037
- Putty #BEAE8A ΔE 0.037
- Tan Green #A9BE70 ΔE 0.040
Use #BBB271 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.