#CFDC5A#CFDC5A

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

Color values

HEX#CFDC5A
RGBrgb(207, 220, 90)
HSLhsl(66, 65%, 61%)
HSVhsv(66, 59%, 86%)
CMYKcmyk(5.9%, 0%, 59.1%, 13.7%)
CIE-LABlab(84.58, -21.55, 60.77)
CIE-LCHlch(84.58, 64.48, 109.53°)
OKLaboklab(85.96% -0.0636 0.1398)
OKLCHoklch(85.96% 0.154 114.5)
XYZxyz(53.1720, 65.1909, 19.4529)
Luminance0.6519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC5A #675ADC
analogous
#DCA85A #CFDC5A #8EDC5A
triadic
#CFDC5A #5ACFDC #DC5ACF
tetradic
#CFDC5A #5ADCA8 #675ADC #DC5A8E
square
#CFDC5A #5ADCA8 #675ADC #DC5A8E
split-complementary
#CFDC5A #5A8EDC #A85ADC
monochromatic
#8F9B21 #BDCD2C #CFDC5A #DEE78C #ECF1BF

Accessibility & contrast

On white

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

On black

14.04
#CFDC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC5A
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC5A#FFFFFF#000000##000000
##CFDC5A1.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24B
Deuteranopia (green-blind)
#EAD462
Tritanopia (blue-blind)
#DBD0C0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cfdc5a;
/* rgb */ color: rgb(207, 220, 90);
/* oklch */ color: oklch(86.0% 0.154 114.5);
Tailwind
colors: {
  custom: {
    50: '#e0e68e',
    500: '#cfdc5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc5a;
$custom-light: #e0e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc5a",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 66,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85964,
    "c": 0.15358,
    "h": 114.5
  },
  "luminance": 0.6519
}

Semantic roles & 50–950 ramp

primary
#CFDC5A
secondary
#453B9F
accent
#19CD2B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #CFDC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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