#B8C52F#B8C52F
#B8C52F is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.8% C 0.164 H 114.6°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B8C52F |
|---|---|
| RGB | rgb(184, 197, 47) |
| HSL | hsl(65, 61%, 48%) |
| HSV | hsv(65, 76%, 77%) |
| CMYK | cmyk(6.6%, 0%, 76.1%, 22.7%) |
| CIE-LAB | lab(76.27, -22.25, 68.01) |
| CIE-LCH | lch(76.27, 71.56, 108.12°) |
| OKLab | oklab(78.78% -0.0683 0.1491) |
| OKLCH | oklch(78.78% 0.164 114.6) |
| XYZ | xyz(40.2477, 50.3288, 10.2830) |
| Luminance | 0.5033 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.86
Bile
#B5C306
ΔE00 1.86
Snot
#ACBB0D
ΔE00 2.97
Green Yellow
#B5CE08
ΔE00 3.30
Pea
#A4BF20
ΔE00 3.65
Gross Green
#A0BF16
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8C52F #3C2FC5
analogous
#C5872F #B8C52F #6DC52F
triadic
#B8C52F #2FB8C5 #C52FB8
tetradic
#B8C52F #2FC587 #3C2FC5 #C52F6D
square
#B8C52F #2FC587 #3C2FC5 #C52F6D
split-complementary
#B8C52F #2F6DC5 #872FC5
monochromatic
#5C6217 #8A9423 #B8C52F #CDD85A #DCE38B
Accessibility & contrast
On white
1.90
#B8C52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.07
#B8C52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8C52F
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8C52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8C52F | 1.00 | 1.90 | 11.07 | 11.07 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BB04
Deuteranopia (green-blind)
#D3BD3C
Tritanopia (blue-blind)
#C4B9A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #b8c52f; /* rgb */ color: rgb(184, 197, 47); /* oklch */ color: oklch(78.8% 0.164 114.6);
Tailwind
colors: {
custom: {
50: '#d1d674',
500: '#b8c52f',
950: '#000000',
},
}SCSS
$custom: #b8c52f; $custom-light: #d1d674; $custom-dark: #000000;
JSON
{
"hex": "#b8c52f",
"rgb": {
"r": 184,
"g": 197,
"b": 47
},
"hsl": {
"h": 65.2,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.78782,
"c": 0.16398,
"h": 114.6
},
"luminance": 0.50328
}Semantic roles & 50–950 ramp
primary
#B8C52F
secondary
#312B6D
accent
#43E551
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D