#CFDF5F#CFDF5F

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

Color values

HEX#CFDF5F
RGBrgb(207, 223, 95)
HSLhsl(68, 67%, 62%)
HSVhsv(68, 57%, 87%)
CMYKcmyk(7.2%, 0%, 57.4%, 12.5%)
CIE-LABlab(85.44, -22.64, 59.56)
CIE-LCHlch(85.44, 63.72, 110.81°)
OKLaboklab(86.66% -0.0661 0.1378)
OKLCHoklch(86.66% 0.153 115.6)
XYZxyz(54.1864, 66.8677, 20.8765)
Luminance0.6687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF5F #6F5FDF
analogous
#DFAF5F #CFDF5F #8FDF5F
triadic
#CFDF5F #5FCFDF #DF5FCF
tetradic
#CFDF5F #5FDFAF #6F5FDF #DF5F8F
square
#CFDF5F #5FDFAF #6F5FDF #DF5F8F
split-complementary
#CFDF5F #5F8FDF #AF5FDF
monochromatic
#93A321 #C0D52C #CFDF5F #DEE992 #EEF3C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFDF5F#FFFFFF#000000##000000
##CFDF5F1.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)
#EDD551
Deuteranopia (green-blind)
#ECD767
Tritanopia (blue-blind)
#DBD3C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdf5f;
/* rgb */ color: rgb(207, 223, 95);
/* oklch */ color: oklch(86.7% 0.153 115.6);
Tailwind
colors: {
  custom: {
    50: '#e0e891',
    500: '#cfdf5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf5f;
$custom-light: #e0e891;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf5f",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 67.5,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86663,
    "c": 0.15287,
    "h": 115.6
  },
  "luminance": 0.66867
}

Semantic roles & 50–950 ramp

primary
#CFDF5F
secondary
#4A3CA6
accent
#17CF2E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFDF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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