#BAC045
Closest named color: Olive Yellow (#C2B709). oklch(78% 0.144 112), rgb(186, 192, 69).
Aa
Black text reads best on this color (10.71:1).
About this color
#BAC045 is a medium-light, vivid yellow. In OKLCH its lightness is 78%, its chroma 0.144 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.029 away. Black text reads best on it, at 10.71:1.
| Hue family | Yellows |
| Lightness | medium-light (78%) |
| Chroma | vivid (0.144) |
| Temperature | in between |
| Nearest name | Olive Yellow (#C2B709) |
| Black text | 10.71:1 |
| White text | 1.96:1 |
Values
| HEX | #BAC045 |
| RGB | rgb(186, 192, 69) |
| HSL | hsl(63, 49%, 51%) |
| OKLCH | oklch(78% 0.144 112) |
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 #BAC045 | 1.96:1 | Fails | Lc -42.0 | Non-text elements, placeholder text |
| Black text on #BAC045 | 10.71:1 | AAA | Lc 66.3 | Content text, not long reading |
| #BAC045 text on white | 1.96:1 | Fails | Lc 37.6 | Non-text elements, placeholder text |
| #BAC045 text on black | 10.71:1 | AAA | Lc -64.8 | 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
#EAEDCE
oklch(93.6% 0.041 111.7)
-
Step 200
200
#DADFA2
oklch(88.5% 0.08 111.8)
-
Step 300
300 (this color)
#BAC045
oklch(78% 0.144 112)
-
Step 400
400
#A4A900
oklch(70.7% 0.156 111.9)
-
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)
#BAC045 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) | #CEB835 | 0.032 |
| Deuteranopia (no green cones) | #CEBB4D | 0.033 |
| Tritanopia (no blue cones) | #C6B5A7 | 0.128 |
| Achromatopsia (no color) | #B9B9B9 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BAC045
#BAC045
oklch(78% 0.144 112)
- #B9A9FF
#B9A9FF
oklch(78.1% 0.122 291.9)
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 #BAC045, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Yellow #C2B709 ΔE 0.029
- Light Olive Green #A4BE5C ΔE 0.034
- Light Olive #ACBF69 ΔE 0.036
- Mustard Yellow #D2BD0A ΔE 0.037
- Pea #A4BF20 ΔE 0.041
- Mustard #CEB301 ΔE 0.041
- Dark Yellow #D5B60A ΔE 0.043
- Light Moss Green #A6C875 ΔE 0.045
Use #BAC045 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.