#CFDD5A#CFDD5A

#CFDD5A is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.2% C 0.155 H 114.8°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#CFDD5A
RGBrgb(207, 221, 90)
HSLhsl(66, 66%, 61%)
HSVhsv(66, 59%, 87%)
CMYKcmyk(6.3%, 0%, 59.3%, 13.3%)
CIE-LABlab(84.85, -22.04, 61.07)
CIE-LCHlch(84.85, 64.93, 109.84°)
OKLaboklab(86.18% -0.065 0.1404)
OKLCHoklch(86.18% 0.155 114.8)
XYZxyz(53.4352, 65.7173, 19.5407)
Luminance0.6572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDD5A #685ADD
analogous
#DDA95A #CFDD5A #8DDD5A
triadic
#CFDD5A #5ACFDD #DD5ACF
tetradic
#CFDD5A #5ADDA9 #685ADD #DD5A8D
square
#CFDD5A #5ADDA9 #685ADD #DD5A8D
split-complementary
#CFDD5A #5A8DDD #A95ADD
monochromatic
#8F9C20 #BECF2B #CFDD5A #DEE78D #EDF2BF

Accessibility & contrast

On white

1.48
#CFDD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#CFDD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDD5A
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDD5A#FFFFFF#000000##000000
##CFDD5A1.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34B
Deuteranopia (green-blind)
#EBD562
Tritanopia (blue-blind)
#DBD1C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #cfdd5a;
/* rgb */ color: rgb(207, 221, 90);
/* oklch */ color: oklch(86.2% 0.155 114.8);
Tailwind
colors: {
  custom: {
    50: '#e0e78e',
    500: '#cfdd5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfdd5a;
$custom-light: #e0e78e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdd5a",
  "rgb": {
    "r": 207,
    "g": 221,
    "b": 90
  },
  "hsl": {
    "h": 66.412,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8618,
    "c": 0.15472,
    "h": 114.8
  },
  "luminance": 0.65716
}

Semantic roles & 50–950 ramp

primary
#CFDD5A
secondary
#463BA0
accent
#18CE2B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #CFDD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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