#CFEA5F#CFEA5F

#CFEA5F is a very light, vivid yellow-green. Relative luminance 0.729; OKLCH L 89.1% C 0.166 H 119.2°. Best body text is #000000 at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#CFEA5F
RGBrgb(207, 234, 95)
HSLhsl(72, 77%, 65%)
HSVhsv(72, 59%, 92%)
CMYKcmyk(11.5%, 0%, 59.4%, 8.2%)
CIE-LABlab(88.42, -27.89, 62.87)
CIE-LCHlch(88.42, 68.78, 113.92°)
OKLaboklab(89.06% -0.0809 0.1449)
OKLCHoklch(89.06% 0.166 119.2)
XYZxyz(57.2213, 72.9376, 21.8881)
Luminance0.7294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFEA5F #7A5FEA
analogous
#EAC05F #CFEA5F #89EA5F
triadic
#CFEA5F #5FCFEA #EA5FCF
tetradic
#CFEA5F #5FEAC0 #7A5FEA #EA5F89
square
#CFEA5F #5FEAC0 #7A5FEA #EA5F89
split-complementary
#CFEA5F #5F89EA #C05FEA
monochromatic
#98B718 #BFE329 #CFEA5F #DFF195 #EFF8CB

Accessibility & contrast

On white

1.35
#CFEA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.59
#CFEA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFEA5F
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFEA5F#FFFFFF#000000##000000
##CFEA5F1.001.3515.5915.59
#FFFFFF1.351.0021.0021.00
#00000015.5921.001.001.00
##00000015.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE4F
Deuteranopia (green-blind)
#F5DE68
Tritanopia (blue-blind)
#DADECC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cfea5f;
/* rgb */ color: rgb(207, 234, 95);
/* oklch */ color: oklch(89.1% 0.166 119.2);
Tailwind
colors: {
  custom: {
    50: '#e0f092',
    500: '#cfea5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfea5f;
$custom-light: #e0f092;
$custom-dark: #000000;
JSON
{
  "hex": "#cfea5f",
  "rgb": {
    "r": 207,
    "g": 234,
    "b": 95
  },
  "hsl": {
    "h": 71.655,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.89055,
    "c": 0.1659,
    "h": 119.2
  },
  "luminance": 0.72937
}

Semantic roles & 50–950 ramp

primary
#CFEA5F
secondary
#5037B6
accent
#0CD934
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CFEA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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