#B3CB38#B3CB38
#B3CB38 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.8% C 0.167 H 118.5°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #B3CB38 |
|---|---|
| RGB | rgb(179, 203, 56) |
| HSL | hsl(70, 59%, 51%) |
| HSV | hsv(70, 72%, 80%) |
| CMYK | cmyk(11.8%, 0%, 72.4%, 20.4%) |
| CIE-LAB | lab(77.63, -26.82, 66.21) |
| CIE-LCH | lch(77.63, 71.44, 112.05°) |
| OKLab | oklab(79.8% -0.0799 0.147) |
| OKLCH | oklch(79.8% 0.167 118.5) |
| XYZ | xyz(40.6610, 52.5814, 11.7478) |
| Luminance | 0.5258 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.79
Pea
#A4BF20
ΔE00 3.39
Baby Puke Green
#B6C406
ΔE00 3.82
Gross Green
#A0BF16
ΔE00 3.82
Bile
#B5C306
ΔE00 3.87
Snot Green
#9DC100
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3CB38 #5038CB
analogous
#CB9938 #B3CB38 #69CB38
triadic
#B3CB38 #38B3CB #CB38B3
tetradic
#B3CB38 #38CB99 #5038CB #CB3869
square
#B3CB38 #38CB99 #5038CB #CB3869
split-complementary
#B3CB38 #3869CB #9938CB
monochromatic
#5F6C1C #8A9D29 #B3CB38 #C6D869 #D8E499
Accessibility & contrast
On white
1.82
#B3CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.52
#B3CB38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3CB38
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3CB38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3CB38 | 1.00 | 1.82 | 11.52 | 11.52 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C01B
Deuteranopia (green-blind)
#D6C044
Tritanopia (blue-blind)
#BEC0AF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b3cb38; /* rgb */ color: rgb(179, 203, 56); /* oklch */ color: oklch(79.8% 0.167 118.5);
Tailwind
colors: {
custom: {
50: '#cdda79',
500: '#b3cb38',
950: '#000000',
},
}SCSS
$custom: #b3cb38; $custom-light: #cdda79; $custom-dark: #000000;
JSON
{
"hex": "#b3cb38",
"rgb": {
"r": 179,
"g": 203,
"b": 56
},
"hsl": {
"h": 69.796,
"s": 58.566,
"l": 50.784
},
"oklch": {
"l": 0.79796,
"c": 0.16729,
"h": 118.5
},
"luminance": 0.52581
}Semantic roles & 50–950 ramp
primary
#B3CB38
secondary
#3D3176
accent
#46E25F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D