#CFDF7E#CFDF7E

#CFDF7E is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.0% C 0.123 H 116.7°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#CFDF7E
RGBrgb(207, 223, 126)
HSLhsl(70, 60%, 68%)
HSVhsv(70, 43%, 87%)
CMYKcmyk(7.2%, 0%, 43.5%, 12.5%)
CIE-LABlab(85.78, -19.82, 45.59)
CIE-LCHlch(85.78, 49.71, 113.50°)
OKLaboklab(87.05% -0.0553 0.11)
OKLCHoklch(87.05% 0.123 116.7)
XYZxyz(55.8861, 67.5476, 29.8285)
Luminance0.6755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF7E #8E7EDF
analogous
#DFBE7E #CFDF7E #9EDF7E
triadic
#CFDF7E #7ECFDF #DF7ECF
tetradic
#CFDF7E #7EDFBE #8E7EDF #DF7E9E
square
#CFDF7E #7EDFBE #8E7EDF #DF7E9E
split-complementary
#CFDF7E #7E9EDF #BE7EDF
monochromatic
#9FB62D #BDD34D #CFDF7E #E1EBAF #F3F7E0

Accessibility & contrast

On white

1.45
#CFDF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#CFDF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF7E
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF7E#FFFFFF#000000##000000
##CFDF7E1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD676
Deuteranopia (green-blind)
#E9D783
Tritanopia (blue-blind)
#D8D5C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cfdf7e;
/* rgb */ color: rgb(207, 223, 126);
/* oklch */ color: oklch(87.0% 0.123 116.7);
Tailwind
colors: {
  custom: {
    50: '#dfe9a5',
    500: '#cfdf7e',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf7e;
$custom-light: #dfe9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf7e",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 126
  },
  "hsl": {
    "h": 69.897,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87048,
    "c": 0.12315,
    "h": 116.7
  },
  "luminance": 0.67547
}

Semantic roles & 50–950 ramp

primary
#CFDF7E
secondary
#5D4BB6
accent
#1EC83A
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CFDF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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