#CFDC7A#CFDC7A

#CFDC7A is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.3% C 0.124 H 115.2°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#CFDC7A
RGBrgb(207, 220, 122)
HSLhsl(68, 58%, 67%)
HSVhsv(68, 45%, 86%)
CMYKcmyk(5.9%, 0%, 44.5%, 13.7%)
CIE-LABlab(84.92, -18.77, 46.47)
CIE-LCHlch(84.92, 50.12, 111.99°)
OKLaboklab(86.35% -0.0527 0.1117)
OKLCHoklch(86.35% 0.124 115.2)
XYZxyz(54.8388, 65.8576, 28.2315)
Luminance0.6586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFDC7A #877ADC
analogous
#DCB87A #CFDC7A #9EDC7A
triadic
#CFDC7A #7ACFDC #DC7ACF
tetradic
#CFDC7A #7ADCB8 #877ADC #DC7A9E
square
#CFDC7A #7ADCB8 #877ADC #DC7A9E
split-complementary
#CFDC7A #7A9EDC #B87ADC
monochromatic
#9DAE2E #BECF4A #CFDC7A #E0E9AA #F2F6DB

Accessibility & contrast

On white

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

On black

14.17
#CFDC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFDC7A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFDC7A#FFFFFF#000000##000000
##CFDC7A1.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D372
Deuteranopia (green-blind)
#E7D57F
Tritanopia (blue-blind)
#D9D2C5
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #cfdc7a;
/* rgb */ color: rgb(207, 220, 122);
/* oklch */ color: oklch(86.3% 0.124 115.2);
Tailwind
colors: {
  custom: {
    50: '#dfe6a2',
    500: '#cfdc7a',
    950: '#000000',
  },
}
SCSS
$custom: #cfdc7a;
$custom-light: #dfe6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfdc7a",
  "rgb": {
    "r": 207,
    "g": 220,
    "b": 122
  },
  "hsl": {
    "h": 67.959,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.86348,
    "c": 0.12354,
    "h": 115.2
  },
  "luminance": 0.65857
}

Semantic roles & 50–950 ramp

primary
#CFDC7A
secondary
#584AB0
accent
#20C636
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CFDC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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