#CFD15D#CFD15D

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

Color values

HEX#CFD15D
RGBrgb(207, 209, 93)
HSLhsl(61, 56%, 59%)
HSVhsv(61, 56%, 82%)
CMYKcmyk(1%, 0%, 55.5%, 18%)
CIE-LABlab(81.65, -15.92, 56.20)
CIE-LCHlch(81.65, 58.41, 105.82°)
OKLaboklab(83.63% -0.0474 0.1304)
OKLCHoklch(83.63% 0.139 110)
XYZxyz(50.5097, 59.6579, 19.2082)
Luminance0.5966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD15D #5F5DD1
analogous
#D1995D #CFD15D #95D15D
triadic
#CFD15D #5DCFD1 #D15DCF
tetradic
#CFD15D #5DD199 #5F5DD1 #D15D95
square
#CFD15D #5DD199 #5F5DD1 #D15D95
split-complementary
#CFD15D #5D95D1 #995DD1
monochromatic
#8A8C28 #B9BC35 #CFD15D #DDDF8D #EBECBC

Accessibility & contrast

On white

1.62
#CFD15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#CFD15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD15D
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD15D#FFFFFF#000000##000000
##CFD15D1.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C951
Deuteranopia (green-blind)
#E1CD63
Tritanopia (blue-blind)
#DCC5B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd15d;
/* rgb */ color: rgb(207, 209, 93);
/* oklch */ color: oklch(83.6% 0.139 110.0);
Tailwind
colors: {
  custom: {
    50: '#e0de8f',
    500: '#cfd15d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd15d;
$custom-light: #e0de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd15d",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 93
  },
  "hsl": {
    "h": 61.034,
    "s": 55.769,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83631,
    "c": 0.13873,
    "h": 110
  },
  "luminance": 0.59657
}

Semantic roles & 50–950 ramp

primary
#CFD15D
secondary
#414092
accent
#49DF4B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD15D

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

Preview Lab → · Contrast checker → · Palette generator →

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