#CFD15F#CFD15F

#CFD15F is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.7% C 0.137 H 109.9°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#CFD15F
RGBrgb(207, 209, 95)
HSLhsl(61, 55%, 60%)
HSVhsv(61, 55%, 82%)
CMYKcmyk(1%, 0%, 54.5%, 18%)
CIE-LABlab(81.67, -15.76, 55.32)
CIE-LCHlch(81.67, 57.52, 105.91°)
OKLaboklab(83.65% -0.0467 0.1287)
OKLCHoklch(83.65% 0.137 109.9)
XYZxyz(50.5994, 59.6938, 19.6808)
Luminance0.5969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD15F #615FD1
analogous
#D19A5F #CFD15F #96D15F
triadic
#CFD15F #5FCFD1 #D15FCF
tetradic
#CFD15F #5FD19A #615FD1 #D15F96
square
#CFD15F #5FD19A #615FD1 #D15F96
split-complementary
#CFD15F #5F96D1 #9A5FD1
monochromatic
#8B8D29 #BABD36 #CFD15F #DDDF8F #ECECBE

Accessibility & contrast

On white

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

On black

12.94
#CFD15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD15F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD15F#FFFFFF#000000##000000
##CFD15F1.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd15f;
/* rgb */ color: rgb(207, 209, 95);
/* oklch */ color: oklch(83.7% 0.137 109.9);
Tailwind
colors: {
  custom: {
    50: '#e0de90',
    500: '#cfd15f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd15f;
$custom-light: #e0de90;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd15f",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 95
  },
  "hsl": {
    "h": 61.053,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83653,
    "c": 0.13695,
    "h": 109.9
  },
  "luminance": 0.59693
}

Semantic roles & 50–950 ramp

primary
#CFD15F
secondary
#424193
accent
#49DF4C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFD15F

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

Preview Lab → · Contrast checker → · Palette generator →

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