#CFEB7B#CFEB7B

#CFEB7B is a very light, vivid yellow-green. Relative luminance 0.741; OKLCH L 89.6% C 0.142 H 120.9°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#CFEB7B
RGBrgb(207, 235, 123)
HSLhsl(75, 74%, 70%)
HSVhsv(75, 48%, 92%)
CMYKcmyk(11.9%, 0%, 47.7%, 7.8%)
CIE-LABlab(88.98, -25.92, 50.95)
CIE-LCHlch(88.98, 57.16, 116.96°)
OKLaboklab(89.6% -0.0728 0.1217)
OKLCHoklch(89.6% 0.142 120.9)
XYZxyz(59.0159, 74.1122, 29.9311)
Luminance0.7411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEB7B #977BEB
analogous
#EBCF7B #CFEB7B #97EB7B
triadic
#CFEB7B #7BCFEB #EB7BCF
tetradic
#CFEB7B #7BEBCF #977BEB #EB7B97
square
#CFEB7B #7BEBCF #977BEB #EB7B97
split-complementary
#CFEB7B #7B97EB #CF7BEB
monochromatic
#A1CD1F #BCE346 #CFEB7B #E2F3B0 #F5FBE4

Accessibility & contrast

On white

1.33
#CFEB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.82
#CFEB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEB7B
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEB7B#FFFFFF#000000##000000
##CFEB7B1.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E071
Deuteranopia (green-blind)
#F3E081
Tritanopia (blue-blind)
#D8E1D1
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cfeb7b;
/* rgb */ color: rgb(207, 235, 123);
/* oklch */ color: oklch(89.6% 0.142 120.9);
Tailwind
colors: {
  custom: {
    50: '#dff1a3',
    500: '#cfeb7b',
    950: '#000000',
  },
}
SCSS
$custom: #cfeb7b;
$custom-light: #dff1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfeb7b",
  "rgb": {
    "r": 207,
    "g": 235,
    "b": 123
  },
  "hsl": {
    "h": 75,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.89595,
    "c": 0.14185,
    "h": 120.9
  },
  "luminance": 0.74112
}

Semantic roles & 50–950 ramp

primary
#CFEB7B
secondary
#6646C4
accent
#10D641
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFEB7B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFEB7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva