#B9C752#B9C752
#B9C752 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.6% C 0.142 H 115.4°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B9C752 |
|---|---|
| RGB | rgb(185, 199, 82) |
| HSL | hsl(67, 51%, 55%) |
| HSV | hsv(67, 59%, 78%) |
| CMYK | cmyk(7%, 0%, 58.8%, 22%) |
| CIE-LAB | lab(77.14, -20.78, 55.58) |
| CIE-LCH | lch(77.14, 59.33, 110.50°) |
| OKLab | oklab(79.58% -0.0609 0.1282) |
| OKLCH | oklch(79.58% 0.142 115.4) |
| XYZ | xyz(41.9548, 51.7709, 15.7636) |
| Luminance | 0.5177 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 4.91
Greenish Beige
#C9D179
ΔE00 5.14
Light Olive Green
#A4BE5C
ΔE00 5.16
Bile
#B5C306
ΔE00 5.31
Baby Puke Green
#B6C406
ΔE00 5.32
Light Olive
#ACBF69
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C752 #6052C7
analogous
#C79A52 #B9C752 #7FC752
triadic
#B9C752 #52B9C7 #C752B9
tetradic
#B9C752 #52C79A #6052C7 #C7527F
square
#B9C752 #52C79A #6052C7 #C7527F
split-complementary
#B9C752 #527FC7 #9A52C7
monochromatic
#6E7827 #99A636 #B9C752 #CCD680 #DEE5AE
Accessibility & contrast
On white
1.85
#B9C752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.35
#B9C752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C752
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C752 | 1.00 | 1.85 | 11.35 | 11.35 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D3BF59
Tritanopia (blue-blind)
#C4BDAE
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #b9c752; /* rgb */ color: rgb(185, 199, 82); /* oklch */ color: oklch(79.6% 0.142 115.4);
Tailwind
colors: {
custom: {
50: '#d0d787',
500: '#b9c752',
950: '#000000',
},
}SCSS
$custom: #b9c752; $custom-light: #d0d787; $custom-dark: #000000;
JSON
{
"hex": "#b9c752",
"rgb": {
"r": 185,
"g": 199,
"b": 82
},
"hsl": {
"h": 67.179,
"s": 51.092,
"l": 55.098
},
"oklch": {
"l": 0.79579,
"c": 0.14193,
"h": 115.4
},
"luminance": 0.5177
}Semantic roles & 50–950 ramp
primary
#B9C752
secondary
#453D80
accent
#4DDB5E
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F