#CFD15A#CFD15A

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

Color values

HEX#CFD15A
RGBrgb(207, 209, 90)
HSLhsl(61, 56%, 59%)
HSVhsv(61, 57%, 82%)
CMYKcmyk(1%, 0%, 56.9%, 18%)
CIE-LABlab(81.62, -16.15, 57.50)
CIE-LCHlch(81.62, 59.72, 105.68°)
OKLaboklab(83.6% -0.0483 0.1328)
OKLCHoklch(83.6% 0.141 110)
XYZxyz(50.3794, 59.6058, 18.5221)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD15A #5C5AD1
analogous
#D1975A #CFD15A #93D15A
triadic
#CFD15A #5ACFD1 #D15ACF
tetradic
#CFD15A #5AD197 #5C5AD1 #D15A93
square
#CFD15A #5AD197 #5C5AD1 #D15A93
split-complementary
#CFD15A #5A93D1 #975AD1
monochromatic
#888A27 #B8BA34 #CFD15A #DDDE8A #EBECBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD15A#FFFFFF#000000##000000
##CFD15A1.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)
#E0C94D
Deuteranopia (green-blind)
#E1CD61
Tritanopia (blue-blind)
#DCC5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd15a;
/* rgb */ color: rgb(207, 209, 90);
/* oklch */ color: oklch(83.6% 0.141 110.0);
Tailwind
colors: {
  custom: {
    50: '#e0de8d',
    500: '#cfd15a',
    950: '#000000',
  },
}
SCSS
$custom: #cfd15a;
$custom-light: #e0de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd15a",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 90
  },
  "hsl": {
    "h": 61.008,
    "s": 56.398,
    "l": 58.627
  },
  "oklch": {
    "l": 0.836,
    "c": 0.14134,
    "h": 110
  },
  "luminance": 0.59605
}

Semantic roles & 50–950 ramp

primary
#CFD15A
secondary
#403F90
accent
#48E04B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD15A

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

Preview Lab → · Contrast checker → · Palette generator →

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