#B2B82E
Closest named color: Mustard Green (#A8B504). oklch(75.4% 0.153 112.1), rgb(178, 184, 46).
Aa
Black text reads best on this color (9.78:1).
About this color
#B2B82E is a medium-light, vivid yellow. In OKLCH its lightness is 75%, its chroma 0.153 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Green (#A8B504), ΔE 0.023 away. Black text reads best on it, at 9.78:1.
| Hue family | Yellows |
| Lightness | medium-light (75%) |
| Chroma | vivid (0.153) |
| Temperature | in between |
| Nearest name | Mustard Green (#A8B504) |
| Black text | 9.78:1 |
| White text | 2.14:1 |
Values
| HEX | #B2B82E |
| RGB | rgb(178, 184, 46) |
| HSL | hsl(63, 60%, 45%) |
| OKLCH | oklch(75.4% 0.153 112.1) |
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 #B2B82E | 2.14:1 | Fails | Lc -46.7 | Large or bold text, headings |
| Black text on #B2B82E | 9.78:1 | AAA | Lc 62.0 | Content text, not long reading |
| #B2B82E text on white | 2.14:1 | Fails | Lc 42.0 | Non-text elements, placeholder text |
| #B2B82E text on black | 9.78:1 | AAA | Lc -60.2 | Content text, not long reading |
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
#F5F6ED
oklch(97% 0.012 111.8)
-
Step 100
100
#EAECD7
oklch(93.6% 0.028 111.3)
-
Step 200
200
#D9DDB5
oklch(88.4% 0.053 112.1)
-
Step 300
300
#C2C77E
oklch(80.9% 0.095 111.7)
-
Step 400
400 (this color)
#B2B82E
oklch(75.4% 0.153 112.1)
-
Step 500
500
#8C9100
oklch(63.1% 0.14 112.2)
-
Step 600
600
#767A00
oklch(55.7% 0.123 112.1)
-
Step 700
700
#636600
oklch(49.1% 0.109 111.8)
-
Step 800
800
#515300
oklch(42.6% 0.094 111.4)
-
Step 900
900
#434500
oklch(37.6% 0.083 111.6)
-
Step 950
950
#272900
oklch(27% 0.06 112.6)
#B2B82E 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) | #C6AF0D | 0.033 |
| Deuteranopia (no green cones) | #C7B33A | 0.036 |
| Tritanopia (no blue cones) | #BEAD9E | 0.135 |
| Achromatopsia (no color) | #B1B1B1 | 0.153 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B2B82E
#B2B82E
oklch(75.4% 0.153 112.1)
- #B29EFF
#B29EFF
oklch(75.5% 0.138 292.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 #B2B82E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mustard Green #A8B504 ΔE 0.023
- Olive Yellow #C2B709 ΔE 0.023
- Pea #A4BF20 ΔE 0.029
- Muddy Yellow #BFAC05 ΔE 0.033
- Light Olive Green #A4BE5C ΔE 0.035
- Bright Olive #9CBB04 ΔE 0.037
- Mustard #CEB301 ΔE 0.040
- Light Olive #ACBF69 ΔE 0.046
Use #B2B82E 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.