#B6CC38#B6CC38
#B6CC38 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.2% C 0.167 H 117.8°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B6CC38 |
|---|---|
| RGB | rgb(182, 204, 56) |
| HSL | hsl(69, 59%, 51%) |
| HSV | hsv(69, 73%, 80%) |
| CMYK | cmyk(10.8%, 0%, 72.5%, 20%) |
| CIE-LAB | lab(78.12, -26.07, 66.76) |
| CIE-LCH | lch(78.12, 71.67, 111.33°) |
| OKLab | oklab(80.25% -0.078 0.148) |
| OKLCH | oklch(80.25% 0.167 117.8) |
| XYZ | xyz(41.5990, 53.4168, 11.8596) |
| Luminance | 0.5342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.53
Baby Puke Green
#B6C406
ΔE00 3.58
Bile
#B5C306
ΔE00 3.67
Pea
#A4BF20
ΔE00 3.78
Gross Green
#A0BF16
ΔE00 4.23
Snot Green
#9DC100
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B6CC38 #4E38CC
analogous
#CC9838 #B6CC38 #6CCC38
triadic
#B6CC38 #38B6CC #CC38B6
tetradic
#B6CC38 #38CC98 #4E38CC #CC386C
square
#B6CC38 #38CC98 #4E38CC #CC386C
split-complementary
#B6CC38 #386CCC #9838CC
monochromatic
#616E1C #8D9E29 #B6CC38 #C8D869 #DAE599
Accessibility & contrast
On white
1.80
#B6CC38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.68
#B6CC38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B6CC38
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B6CC38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B6CC38 | 1.00 | 1.80 | 11.68 | 11.68 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC11B
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#C1C1B0
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b6cc38; /* rgb */ color: rgb(182, 204, 56); /* oklch */ color: oklch(80.2% 0.167 117.8);
Tailwind
colors: {
custom: {
50: '#cfdb79',
500: '#b6cc38',
950: '#000000',
},
}SCSS
$custom: #b6cc38; $custom-light: #cfdb79; $custom-dark: #000000;
JSON
{
"hex": "#b6cc38",
"rgb": {
"r": 182,
"g": 204,
"b": 56
},
"hsl": {
"h": 68.919,
"s": 59.2,
"l": 50.98
},
"oklch": {
"l": 0.80246,
"c": 0.16734,
"h": 117.8
},
"luminance": 0.53416
}Semantic roles & 50–950 ramp
primary
#B6CC38
secondary
#3C3177
accent
#45E25D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D