#CFDF5D#CFDF5D

#CFDF5D is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.6% C 0.155 H 115.6°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#CFDF5D
RGBrgb(207, 223, 93)
HSLhsl(67, 67%, 62%)
HSVhsv(67, 58%, 87%)
CMYKcmyk(7.2%, 0%, 58.3%, 12.5%)
CIE-LABlab(85.42, -22.79, 60.41)
CIE-LCHlch(85.42, 64.57, 110.67°)
OKLaboklab(86.64% -0.0668 0.1394)
OKLCHoklch(86.64% 0.155 115.6)
XYZxyz(54.0967, 66.8318, 20.4039)
Luminance0.6683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF5D #6D5DDF
analogous
#DFAE5D #CFDF5D #8EDF5D
triadic
#CFDF5D #5DCFDF #DF5DCF
tetradic
#CFDF5D #5DDFAE #6D5DDF #DF5D8E
square
#CFDF5D #5DDFAE #6D5DDF #DF5D8E
split-complementary
#CFDF5D #5D8EDF #AE5DDF
monochromatic
#92A220 #C0D52A #CFDF5D #DEE990 #EDF3C3

Accessibility & contrast

On white

1.46
#CFDF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#CFDF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF5D
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF5D#FFFFFF#000000##000000
##CFDF5D1.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD54F
Deuteranopia (green-blind)
#ECD765
Tritanopia (blue-blind)
#DBD3C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdf5d;
/* rgb */ color: rgb(207, 223, 93);
/* oklch */ color: oklch(86.6% 0.155 115.6);
Tailwind
colors: {
  custom: {
    50: '#e0e890',
    500: '#cfdf5d',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf5d;
$custom-light: #e0e890;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf5d",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 93
  },
  "hsl": {
    "h": 67.385,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86643,
    "c": 0.15455,
    "h": 115.6
  },
  "luminance": 0.66831
}

Semantic roles & 50–950 ramp

primary
#CFDF5D
secondary
#483CA5
accent
#17CF2D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFDF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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