#CFD259#CFD259

#CFD259 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.143 H 110.4°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#CFD259
RGBrgb(207, 210, 89)
HSLhsl(61, 57%, 59%)
HSVhsv(61, 58%, 82%)
CMYKcmyk(1.4%, 0%, 57.6%, 17.6%)
CIE-LABlab(81.88, -16.72, 58.23)
CIE-LCHlch(81.88, 60.58, 106.02°)
OKLaboklab(83.8% -0.05 0.1343)
OKLCHoklch(83.8% 0.143 110.4)
XYZxyz(50.5832, 60.0811, 18.3815)
Luminance0.6008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD259 #5C59D2
analogous
#D29859 #CFD259 #92D259
triadic
#CFD259 #59CFD2 #D259CF
tetradic
#CFD259 #59D298 #5C59D2 #D25992
square
#CFD259 #59D298 #5C59D2 #D25992
split-complementary
#CFD259 #5992D2 #9859D2
monochromatic
#888B26 #B8BB33 #CFD259 #DDDF89 #EBECB9

Accessibility & contrast

On white

1.61
#CFD259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#CFD259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD259
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD259#FFFFFF#000000##000000
##CFD2591.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4C
Deuteranopia (green-blind)
#E2CD60
Tritanopia (blue-blind)
#DCC6B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd259;
/* rgb */ color: rgb(207, 210, 89);
/* oklch */ color: oklch(83.8% 0.143 110.4);
Tailwind
colors: {
  custom: {
    50: '#e0df8c',
    500: '#cfd259',
    950: '#000000',
  },
}
SCSS
$custom: #cfd259;
$custom-light: #e0df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd259",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 61.488,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.83803,
    "c": 0.14328,
    "h": 110.4
  },
  "luminance": 0.6008
}

Semantic roles & 50–950 ramp

primary
#CFD259
secondary
#403E91
accent
#47E14B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD259

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

Preview Lab → · Contrast checker → · Palette generator →

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