#CFDE5F#CFDE5F

#CFDE5F is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.4% C 0.152 H 115.3°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#CFDE5F
RGBrgb(207, 222, 95)
HSLhsl(67, 66%, 62%)
HSVhsv(67, 57%, 87%)
CMYKcmyk(6.8%, 0%, 57.2%, 12.9%)
CIE-LABlab(85.17, -22.15, 59.26)
CIE-LCHlch(85.17, 63.27, 110.50°)
OKLaboklab(86.45% -0.0648 0.1372)
OKLCHoklch(86.45% 0.152 115.3)
XYZxyz(53.9200, 66.3349, 20.7877)
Luminance0.6633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDE5F #6E5FDE
analogous
#DEAE5F #CFDE5F #8FDE5F
triadic
#CFDE5F #5FCFDE #DE5FCF
tetradic
#CFDE5F #5FDEAE #6E5FDE #DE5F8F
square
#CFDE5F #5FDEAE #6E5FDE #DE5F8F
split-complementary
#CFDE5F #5F8FDE #AE5FDE
monochromatic
#92A121 #C0D42C #CFDE5F #DEE892 #EDF3C4

Accessibility & contrast

On white

1.47
#CFDE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#CFDE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDE5F
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDE5F#FFFFFF#000000##000000
##CFDE5F1.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD451
Deuteranopia (green-blind)
#EBD667
Tritanopia (blue-blind)
#DBD2C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfde5f;
/* rgb */ color: rgb(207, 222, 95);
/* oklch */ color: oklch(86.4% 0.152 115.3);
Tailwind
colors: {
  custom: {
    50: '#e0e891',
    500: '#cfde5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfde5f;
$custom-light: #e0e891;
$custom-dark: #000000;
JSON
{
  "hex": "#cfde5f",
  "rgb": {
    "r": 207,
    "g": 222,
    "b": 95
  },
  "hsl": {
    "h": 67.087,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.86447,
    "c": 0.1517,
    "h": 115.3
  },
  "luminance": 0.66334
}

Semantic roles & 50–950 ramp

primary
#CFDE5F
secondary
#493DA4
accent
#18CE2D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFDE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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