#CFD15C#CFD15C

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

Color values

HEX#CFD15C
RGBrgb(207, 209, 92)
HSLhsl(61, 56%, 59%)
HSVhsv(61, 56%, 82%)
CMYKcmyk(1%, 0%, 56%, 18%)
CIE-LABlab(81.64, -16.00, 56.63)
CIE-LCHlch(81.64, 58.85, 105.77°)
OKLaboklab(83.62% -0.0477 0.1312)
OKLCHoklch(83.62% 0.14 110)
XYZxyz(50.4657, 59.6403, 18.9765)
Luminance0.5964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD15C #5E5CD1
analogous
#D1995C #CFD15C #95D15C
triadic
#CFD15C #5CCFD1 #D15CCF
tetradic
#CFD15C #5CD199 #5E5CD1 #D15C95
square
#CFD15C #5CD199 #5E5CD1 #D15C95
split-complementary
#CFD15C #5C95D1 #995CD1
monochromatic
#8A8B27 #B9BB35 #CFD15C #DDDE8C #EBECBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD15C#FFFFFF#000000##000000
##CFD15C1.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)
#E0C950
Deuteranopia (green-blind)
#E1CD63
Tritanopia (blue-blind)
#DCC5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd15c;
/* rgb */ color: rgb(207, 209, 92);
/* oklch */ color: oklch(83.6% 0.140 110.0);
Tailwind
colors: {
  custom: {
    50: '#e0de8e',
    500: '#cfd15c',
    950: '#000000',
  },
}
SCSS
$custom: #cfd15c;
$custom-light: #e0de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd15c",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 92
  },
  "hsl": {
    "h": 61.026,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83621,
    "c": 0.13961,
    "h": 110
  },
  "luminance": 0.59639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD15C

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

Preview Lab → · Contrast checker → · Palette generator →

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