#B9C548#B9C548
#B9C548 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.0% C 0.148 H 114.5°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B9C548 |
|---|---|
| RGB | rgb(185, 197, 72) |
| HSL | hsl(66, 52%, 53%) |
| HSV | hsv(66, 63%, 77%) |
| CMYK | cmyk(6.1%, 0%, 63.5%, 22.7%) |
| CIE-LAB | lab(76.51, -20.50, 59.15) |
| CIE-LCH | lch(76.51, 62.60, 109.11°) |
| OKLab | oklab(79.04% -0.0612 0.1344) |
| OKLCH | oklch(79.04% 0.148 114.5) |
| XYZ | xyz(41.1445, 50.7154, 13.7512) |
| Luminance | 0.5071 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 4.13
Baby Puke Green
#B6C406
ΔE00 4.16
Pea
#A4BF20
ΔE00 4.31
Snot
#ACBB0D
ΔE00 4.42
Green Yellow
#B5CE08
ΔE00 4.96
Gross Green
#A0BF16
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C548 #5448C5
analogous
#C59248 #B9C548 #7AC548
triadic
#B9C548 #48B9C5 #C548B9
tetradic
#B9C548 #48C592 #5448C5 #C5487A
square
#B9C548 #48C592 #5448C5 #C5487A
split-complementary
#B9C548 #487AC5 #9248C5
monochromatic
#686F23 #939E32 #B9C548 #CBD476 #DDE2A5
Accessibility & contrast
On white
1.88
#B9C548 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.14
#B9C548 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C548
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C548 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C548 | 1.00 | 1.88 | 11.14 | 11.14 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BC38
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#C4BAAB
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #b9c548; /* rgb */ color: rgb(185, 197, 72); /* oklch */ color: oklch(79.0% 0.148 114.5);
Tailwind
colors: {
custom: {
50: '#d1d681',
500: '#b9c548',
950: '#000000',
},
}SCSS
$custom: #b9c548; $custom-light: #d1d681; $custom-dark: #000000;
JSON
{
"hex": "#b9c548",
"rgb": {
"r": 185,
"g": 197,
"b": 72
},
"hsl": {
"h": 65.76,
"s": 51.867,
"l": 52.745
},
"oklch": {
"l": 0.79041,
"c": 0.14769,
"h": 114.5
},
"luminance": 0.50715
}Semantic roles & 50–950 ramp
primary
#B9C548
secondary
#3F3879
accent
#4CDB5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E