#CFE34F#CFE34F

#CFE34F is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.4% C 0.170 H 116.6°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#CFE34F
RGBrgb(207, 227, 79)
HSLhsl(68, 73%, 60%)
HSVhsv(68, 65%, 89%)
CMYKcmyk(8.8%, 0%, 65.2%, 11%)
CIE-LABlab(86.39, -25.66, 67.19)
CIE-LCHlch(86.39, 71.92, 110.90°)
OKLaboklab(87.39% -0.0762 0.1519)
OKLCHoklch(87.39% 0.17 116.6)
XYZxyz(54.6137, 68.7688, 17.7923)
Luminance0.6877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFE34F #634FE3
analogous
#E3AD4F #CFE34F #85E34F
triadic
#CFE34F #4FCFE3 #E34FCF
tetradic
#CFE34F #4FE3AD #634FE3 #E34F85
square
#CFE34F #4FE3AD #634FE3 #E34F85
split-complementary
#CFE34F #4F85E3 #AD4FE3
monochromatic
#8C9E19 #BBD322 #CFE34F #DDEB84 #ECF4B9

Accessibility & contrast

On white

1.42
#CFE34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#CFE34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFE34F
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFE34F#FFFFFF#000000##000000
##CFE34F1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83A
Deuteranopia (green-blind)
#F0D95A
Tritanopia (blue-blind)
#DBD7C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cfe34f;
/* rgb */ color: rgb(207, 227, 79);
/* oklch */ color: oklch(87.4% 0.170 116.6);
Tailwind
colors: {
  custom: {
    50: '#e1eb88',
    500: '#cfe34f',
    950: '#000000',
  },
}
SCSS
$custom: #cfe34f;
$custom-light: #e1eb88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfe34f",
  "rgb": {
    "r": 207,
    "g": 227,
    "b": 79
  },
  "hsl": {
    "h": 68.108,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.87385,
    "c": 0.16991,
    "h": 116.6
  },
  "luminance": 0.68768
}

Semantic roles & 50–950 ramp

primary
#CFE34F
secondary
#4335A1
accent
#39EF51
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFE34F

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

Preview Lab → · Contrast checker → · Palette generator →

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