#CFD959#CFD959

#CFD959 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.151 H 113.3°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#CFD959
RGBrgb(207, 217, 89)
HSLhsl(65, 63%, 60%)
HSVhsv(65, 59%, 85%)
CMYKcmyk(4.6%, 0%, 59%, 14.9%)
CIE-LABlab(83.76, -20.16, 60.30)
CIE-LCHlch(83.76, 63.59, 108.49°)
OKLaboklab(85.31% -0.0598 0.1387)
OKLCHoklch(85.31% 0.151 113.3)
XYZxyz(52.3494, 63.6134, 18.9702)
Luminance0.6361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD959 #6359D9
analogous
#D9A359 #CFD959 #8FD959
triadic
#CFD959 #59CFD9 #D959CF
tetradic
#CFD959 #59D9A3 #6359D9 #D9598F
square
#CFD959 #59D9A3 #6359D9 #D9598F
split-complementary
#CFD959 #598FD9 #A359D9
monochromatic
#8C9522 #BBC72E #CFD959 #DDE48B #ECF0BD

Accessibility & contrast

On white

1.53
#CFD959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#CFD959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD959
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD959#FFFFFF#000000##000000
##CFD9591.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF4A
Deuteranopia (green-blind)
#E8D261
Tritanopia (blue-blind)
#DCCDBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cfd959;
/* rgb */ color: rgb(207, 217, 89);
/* oklch */ color: oklch(85.3% 0.151 113.3);
Tailwind
colors: {
  custom: {
    50: '#e0e48d',
    500: '#cfd959',
    950: '#000000',
  },
}
SCSS
$custom: #cfd959;
$custom-light: #e0e48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd959",
  "rgb": {
    "r": 207,
    "g": 217,
    "b": 89
  },
  "hsl": {
    "h": 64.688,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.85307,
    "c": 0.15101,
    "h": 113.3
  },
  "luminance": 0.63612
}

Semantic roles & 50–950 ramp

primary
#CFD959
secondary
#433C9A
accent
#42E64F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD959

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

Preview Lab → · Contrast checker → · Palette generator →

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