#CFDF57#CFDF57

#CFDF57 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.6% C 0.159 H 115.5°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#CFDF57
RGBrgb(207, 223, 87)
HSLhsl(67, 68%, 61%)
HSVhsv(67, 61%, 87%)
CMYKcmyk(7.2%, 0%, 61%, 12.5%)
CIE-LABlab(85.37, -23.22, 62.89)
CIE-LCHlch(85.37, 67.04, 110.26°)
OKLaboklab(86.59% -0.0686 0.1439)
OKLCHoklch(86.59% 0.159 115.5)
XYZxyz(53.8413, 66.7297, 19.0588)
Luminance0.6673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDF57 #6757DF
analogous
#DFAB57 #CFDF57 #8BDF57
triadic
#CFDF57 #57CFDF #DF57CF
tetradic
#CFDF57 #57DFAB #6757DF #DF578B
square
#CFDF57 #57DFAB #6757DF #DF578B
split-complementary
#CFDF57 #578BDF #AB57DF
monochromatic
#8F9E1E #BDD128 #CFDF57 #DEE98A #ECF3BE

Accessibility & contrast

On white

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

On black

14.35
#CFDF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDF57
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDF57#FFFFFF#000000##000000
##CFDF571.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED447
Deuteranopia (green-blind)
#ECD660
Tritanopia (blue-blind)
#DBD3C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cfdf57;
/* rgb */ color: rgb(207, 223, 87);
/* oklch */ color: oklch(86.6% 0.159 115.5);
Tailwind
colors: {
  custom: {
    50: '#e0e88c',
    500: '#cfdf57',
    950: '#000000',
  },
}
SCSS
$custom: #cfdf57;
$custom-light: #e0e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdf57",
  "rgb": {
    "r": 207,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 67.059,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86585,
    "c": 0.15941,
    "h": 115.5
  },
  "luminance": 0.66729
}

Semantic roles & 50–950 ramp

primary
#CFDF57
secondary
#4539A1
accent
#16D02B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CFDF57

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

Preview Lab → · Contrast checker → · Palette generator →

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