#CFDC5C#CFDC5C

#CFDC5C is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.0% C 0.152 H 114.5°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#CFDC5C
RGBrgb(207, 220, 92)
HSLhsl(66, 65%, 61%)
HSVhsv(66, 58%, 86%)
CMYKcmyk(5.9%, 0%, 58.2%, 13.7%)
CIE-LABlab(84.60, -21.41, 59.93)
CIE-LCHlch(84.60, 63.64, 109.66°)
OKLaboklab(85.98% -0.063 0.1383)
OKLCHoklch(85.98% 0.152 114.5)
XYZxyz(53.2582, 65.2254, 19.9073)
Luminance0.6522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC5C #695CDC
analogous
#DCA95C #CFDC5C #8FDC5C
triadic
#CFDC5C #5CCFDC #DC5CCF
tetradic
#CFDC5C #5CDCA9 #695CDC #DC5C8F
square
#CFDC5C #5CDCA9 #695CDC #DC5C8F
split-complementary
#CFDC5C #5C8FDC #A95CDC
monochromatic
#909C22 #BECE2C #CFDC5C #DEE78E #EDF2C1

Accessibility & contrast

On white

1.50
#CFDC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#CFDC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC5C
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC5C#FFFFFF#000000##000000
##CFDC5C1.001.5014.0514.05
#FFFFFF1.501.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24E
Deuteranopia (green-blind)
#EAD464
Tritanopia (blue-blind)
#DBD0C1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfdc5c;
/* rgb */ color: rgb(207, 220, 92);
/* oklch */ color: oklch(86.0% 0.152 114.5);
Tailwind
colors: {
  custom: {
    50: '#e0e68f',
    500: '#cfdc5c',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc5c;
$custom-light: #e0e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc5c",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 66.094,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85984,
    "c": 0.15192,
    "h": 114.5
  },
  "luminance": 0.65225
}

Semantic roles & 50–950 ramp

primary
#CFDC5C
secondary
#463CA0
accent
#19CC2B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFDC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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