#CFEB7C#CFEB7C

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

Color values

HEX#CFEB7C
RGBrgb(207, 235, 124)
HSLhsl(75, 74%, 70%)
HSVhsv(75, 47%, 92%)
CMYKcmyk(11.9%, 0%, 47.2%, 7.8%)
CIE-LABlab(88.99, -25.82, 50.49)
CIE-LCHlch(88.99, 56.71, 117.08°)
OKLaboklab(89.61% -0.0725 0.1208)
OKLCHoklch(89.61% 0.141 121)
XYZxyz(59.0788, 74.1374, 30.2624)
Luminance0.7414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEB7C #987CEB
analogous
#EBCF7C #CFEB7C #97EB7C
triadic
#CFEB7C #7CCFEB #EB7CCF
tetradic
#CFEB7C #7CEBCF #987CEB #EB7C97
square
#CFEB7C #7CEBCF #987CEB #EB7C97
split-complementary
#CFEB7C #7C97EB #CF7CEB
monochromatic
#A1CD1F #BCE347 #CFEB7C #E2F3B1 #F5FBE4

Accessibility & contrast

On white

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

On black

15.83
#CFEB7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEB7C
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEB7C#FFFFFF#000000##000000
##CFEB7C1.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfeb7c;
/* rgb */ color: rgb(207, 235, 124);
/* oklch */ color: oklch(89.6% 0.141 121.0);
Tailwind
colors: {
  custom: {
    50: '#dff1a4',
    500: '#cfeb7c',
    950: '#000000',
  },
}
SCSS
$custom: #cfeb7c;
$custom-light: #dff1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfeb7c",
  "rgb": {
    "r": 207,
    "g": 235,
    "b": 124
  },
  "hsl": {
    "h": 75.135,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89608,
    "c": 0.14086,
    "h": 121
  },
  "luminance": 0.74137
}

Semantic roles & 50–950 ramp

primary
#CFEB7C
secondary
#6747C4
accent
#10D642
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15160F
muted
#848580

Preview Lab

Preview with #CFEB7C

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

Preview Lab → · Contrast checker → · Palette generator →

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