#B9C135#B9C135
#B9C135 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.0% C 0.156 H 112.8°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B9C135 |
|---|---|
| RGB | rgb(185, 193, 53) |
| HSL | hsl(63, 57%, 48%) |
| HSV | hsv(63, 73%, 76%) |
| CMYK | cmyk(4.1%, 0%, 72.5%, 24.3%) |
| CIE-LAB | lab(75.27, -19.59, 65.14) |
| CIE-LCH | lch(75.27, 68.02, 106.74°) |
| OKLab | oklab(78.01% -0.0605 0.144) |
| OKLCH | oklch(78.01% 0.156 112.8) |
| XYZ | xyz(39.7214, 48.7122, 10.6774) |
| Luminance | 0.4871 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.56
Baby Puke Green
#B6C406
ΔE00 2.64
Snot
#ACBB0D
ΔE00 2.88
Puke Yellow
#C2BE0E
ΔE00 3.96
Mustard Green
#A8B504
ΔE00 3.97
Pea
#A4BF20
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B9C135 #3D35C1
analogous
#C18335 #B9C135 #73C135
triadic
#B9C135 #35B9C1 #C135B9
tetradic
#B9C135 #35C183 #3D35C1 #C13573
square
#B9C135 #35C183 #3D35C1 #C13573
split-complementary
#B9C135 #3573C1 #8335C1
monochromatic
#5D611B #8B9128 #B9C135 #CDD360 #DCE090
Accessibility & contrast
On white
1.95
#B9C135 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.74
#B9C135 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B9C135
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B9C135 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B9C135 | 1.00 | 1.95 | 10.74 | 10.74 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B819
Deuteranopia (green-blind)
#D0BB40
Tritanopia (blue-blind)
#C6B5A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b9c135; /* rgb */ color: rgb(185, 193, 53); /* oklch */ color: oklch(78.0% 0.156 112.8);
Tailwind
colors: {
custom: {
50: '#d2d376',
500: '#b9c135',
950: '#000000',
},
}SCSS
$custom: #b9c135; $custom-light: #d2d376; $custom-dark: #000000;
JSON
{
"hex": "#b9c135",
"rgb": {
"r": 185,
"g": 193,
"b": 53
},
"hsl": {
"h": 63.429,
"s": 56.911,
"l": 48.235
},
"oklch": {
"l": 0.7801,
"c": 0.15619,
"h": 112.8
},
"luminance": 0.48711
}Semantic roles & 50–950 ramp
primary
#B9C135
secondary
#8B87CB
accent
#48E050
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#151409
muted
#83827B