#BAC342
Closest named color: Olive Yellow (#C2B709). oklch(78.6% 0.15 113.2), rgb(186, 195, 66).
Aa
Black text reads best on this color (10.97:1).
About this color
#BAC342 is a light, vivid yellow. In OKLCH its lightness is 79%, its chroma 0.150 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.033 away. Black text reads best on it, at 10.97:1.
| Hue family | Yellows |
| Lightness | light (79%) |
| Chroma | vivid (0.150) |
| Temperature | in between |
| Nearest name | Olive Yellow (#C2B709) |
| Black text | 10.97:1 |
| White text | 1.91:1 |
Values
| HEX | #BAC342 |
| RGB | rgb(186, 195, 66) |
| HSL | hsl(64, 52%, 51%) |
| OKLCH | oklch(78.6% 0.15 113.2) |
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 #BAC342 | 1.91:1 | Fails | Lc -40.7 | Non-text elements, placeholder text |
| Black text on #BAC342 | 10.97:1 | AAA | Lc 67.5 | Content text, not long reading |
| #BAC342 text on white | 1.91:1 | Fails | Lc 36.4 | Non-text elements, placeholder text |
| #BAC342 text on black | 10.97:1 | AAA | Lc -66.0 | 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 300.
-
Step 50
50
#F5F7E8
oklch(97.1% 0.02 112.9)
-
Step 100
100
#E9EECD
oklch(93.7% 0.044 114.2)
-
Step 200
200
#D9E0A0
oklch(88.6% 0.084 113.2)
-
Step 300
300 (this color)
#BAC342
oklch(78.6% 0.15 113.2)
-
Step 400
400
#A2AA00
oklch(70.8% 0.158 113.1)
-
Step 500
500
#8A9100
oklch(63% 0.141 113.2)
-
Step 600
600
#747A00
oklch(55.6% 0.124 113.2)
-
Step 700
700
#616700
oklch(49.2% 0.11 113.7)
-
Step 800
800
#505400
oklch(42.8% 0.095 112.9)
-
Step 900
900
#424600
oklch(37.8% 0.084 113.4)
-
Step 950
950
#272900
oklch(27% 0.06 112.6)
#BAC342 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) | #D1BA30 | 0.036 |
| Deuteranopia (no green cones) | #D1BD4B | 0.038 |
| Tritanopia (no blue cones) | #C6B8A9 | 0.132 |
| Achromatopsia (no color) | #BBBBBB | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BAC342
#BAC342
oklch(78.6% 0.15 113.2)
- #BCAAFF
#BCAAFF
oklch(78.5% 0.12 293.1)
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 #BAC342, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Yellow #C2B709 ΔE 0.033
- Mustard Yellow #D2BD0A ΔE 0.036
- Light Olive Green #A4BE5C ΔE 0.039
- Pea #A4BF20 ΔE 0.040
- Light Olive #ACBF69 ΔE 0.042
- Mustard #CEB301 ΔE 0.045
- Dark Yellow #D5B60A ΔE 0.046
- Light Moss Green #A6C875 ΔE 0.047
Use #BAC342 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.