#B9BF2C#B9BF2C
#B9BF2C is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.5% C 0.159 H 112.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B9BF2C |
|---|---|
| RGB | rgb(185, 191, 44) |
| HSL | hsl(62, 63%, 46%) |
| HSV | hsv(62, 77%, 75%) |
| CMYK | cmyk(3.1%, 0%, 77%, 25.1%) |
| CIE-LAB | lab(74.67, -18.98, 67.50) |
| CIE-LCH | lch(74.67, 70.12, 105.71°) |
| OKLab | oklab(77.52% -0.0596 0.1474) |
| OKLCH | oklch(77.52% 0.159 112) |
| XYZ | xyz(39.0943, 47.7587, 9.5414) |
| Luminance | 0.4776 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.36
Baby Puke Green
#B6C406
ΔE00 2.48
Snot
#ACBB0D
ΔE00 2.59
Puke Yellow
#C2BE0E
ΔE00 3.15
Mustard Green
#A8B504
ΔE00 3.53
Vomit Yellow
#C7C10C
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9BF2C #322CBF
analogous
#BF7B2C #B9BF2C #6FBF2C
triadic
#B9BF2C #2CB9BF #BF2CB9
tetradic
#B9BF2C #2CBF7B #322CBF #BF2C6F
square
#B9BF2C #2CBF7B #322CBF #BF2C6F
split-complementary
#B9BF2C #2C6FBF #7B2CBF
monochromatic
#595C15 #898D21 #B9BF2C #D2D751 #DFE283
Accessibility & contrast
On white
1.99
#B9BF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#B9BF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9BF2C
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9BF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9BF2C | 1.00 | 1.99 | 10.55 | 10.55 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CFB939
Tritanopia (blue-blind)
#C6B3A4
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b9bf2c; /* rgb */ color: rgb(185, 191, 44); /* oklch */ color: oklch(77.5% 0.159 112.0);
Tailwind
colors: {
custom: {
50: '#d2d272',
500: '#b9bf2c',
950: '#000000',
},
}SCSS
$custom: #b9bf2c; $custom-light: #d2d272; $custom-dark: #000000;
JSON
{
"hex": "#b9bf2c",
"rgb": {
"r": 185,
"g": 191,
"b": 44
},
"hsl": {
"h": 62.449,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.77515,
"c": 0.159,
"h": 112
},
"luminance": 0.47758
}Semantic roles & 50–950 ramp
primary
#B9BF2C
secondary
#7F7BCC
accent
#42E649
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B