#B2CF4F#B2CF4F
#B2CF4F is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.8% C 0.156 H 120.8°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CF4F |
|---|---|
| RGB | rgb(178, 207, 79) |
| HSL | hsl(74, 57%, 56%) |
| HSV | hsv(74, 62%, 81%) |
| CMYK | cmyk(14%, 0%, 61.8%, 18.8%) |
| CIE-LAB | lab(78.84, -27.71, 58.58) |
| CIE-LCH | lch(78.84, 64.81, 115.31°) |
| OKLab | oklab(80.81% -0.0802 0.1343) |
| OKLCH | oklch(80.81% 0.156 120.8) |
| XYZ | xyz(42.0847, 54.6552, 15.7280) |
| Luminance | 0.5465 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 4.16
Pea
#A4BF20
ΔE00 5.10
Green Yellow
#B5CE08
ΔE00 5.15
Slime Green
#99CC04
ΔE00 5.17
Gross Green
#A0BF16
ΔE00 5.40
Light Olive Green
#A4BE5C
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CF4F #6C4FCF
analogous
#CFAC4F #B2CF4F #72CF4F
triadic
#B2CF4F #4FB2CF #CF4FB2
tetradic
#B2CF4F #4FCFAC #6C4FCF #CF4F72
square
#B2CF4F #4FCFAC #6C4FCF #CF4F72
split-complementary
#B2CF4F #4F72CF #AC4FCF
monochromatic
#6B8123 #94B130 #B2CF4F #C7DC7F #DCE9AF
Accessibility & contrast
On white
1.76
#B2CF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.93
#B2CF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CF4F
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CF4F | 1.00 | 1.76 | 11.93 | 11.93 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC440
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#BBC5B4
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #b2cf4f; /* rgb */ color: rgb(178, 207, 79); /* oklch */ color: oklch(80.8% 0.156 120.8);
Tailwind
colors: {
custom: {
50: '#ccdd86',
500: '#b2cf4f',
950: '#000000',
},
}SCSS
$custom: #b2cf4f; $custom-light: #ccdd86; $custom-dark: #000000;
JSON
{
"hex": "#b2cf4f",
"rgb": {
"r": 178,
"g": 207,
"b": 79
},
"hsl": {
"h": 73.594,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.80808,
"c": 0.15645,
"h": 120.8
},
"luminance": 0.54655
}Semantic roles & 50–950 ramp
primary
#B2CF4F
secondary
#4C3A88
accent
#47E06A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E