#CFD159#CFD159

#CFD159 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.6% C 0.142 H 110.0°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#CFD159
RGBrgb(207, 209, 89)
HSLhsl(61, 57%, 58%)
HSVhsv(61, 57%, 82%)
CMYKcmyk(1%, 0%, 57.4%, 18%)
CIE-LABlab(81.61, -16.22, 57.93)
CIE-LCHlch(81.61, 60.16, 105.64°)
OKLaboklab(83.59% -0.0486 0.1336)
OKLCHoklch(83.59% 0.142 110)
XYZxyz(50.3371, 59.5888, 18.2994)
Luminance0.5959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD159 #5B59D1
analogous
#D19759 #CFD159 #93D159
triadic
#CFD159 #59CFD1 #D159CF
tetradic
#CFD159 #59D197 #5B59D1 #D15993
square
#CFD159 #59D197 #5B59D1 #D15993
split-complementary
#CFD159 #5993D1 #9759D1
monochromatic
#888926 #B7B933 #CFD159 #DDDE89 #EBECB9

Accessibility & contrast

On white

1.63
#CFD159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#CFD159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD159
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD159#FFFFFF#000000##000000
##CFD1591.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94C
Deuteranopia (green-blind)
#E1CD60
Tritanopia (blue-blind)
#DCC5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd159;
/* rgb */ color: rgb(207, 209, 89);
/* oklch */ color: oklch(83.6% 0.142 110.0);
Tailwind
colors: {
  custom: {
    50: '#e0de8c',
    500: '#cfd159',
    950: '#000000',
  },
}
SCSS
$custom: #cfd159;
$custom-light: #e0de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd159",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 61,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.83589,
    "c": 0.14219,
    "h": 110
  },
  "luminance": 0.59588
}

Semantic roles & 50–950 ramp

primary
#CFD159
secondary
#403E90
accent
#48E04A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD159

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

Preview Lab → · Contrast checker → · Palette generator →

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