#CFD76E#CFD76E

#CFD76E is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.1% C 0.130 H 112.7°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#CFD76E
RGBrgb(207, 215, 110)
HSLhsl(65, 57%, 64%)
HSVhsv(65, 49%, 84%)
CMYKcmyk(3.7%, 0%, 48.8%, 15.7%)
CIE-LABlab(83.44, -17.47, 50.43)
CIE-LCHlch(83.44, 53.36, 109.10°)
OKLaboklab(85.12% -0.05 0.1196)
OKLCHoklch(85.12% 0.13 112.7)
XYZxyz(52.8480, 62.9930, 24.1237)
Luminance0.6299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD76E #766ED7
analogous
#D7AA6E #CFD76E #9AD76E
triadic
#CFD76E #6ECFD7 #D76ECF
tetradic
#CFD76E #6ED7AA #766ED7 #D76E9A
square
#CFD76E #6ED7AA #766ED7 #D76E9A
split-complementary
#CFD76E #6E9AD7 #AA6ED7
monochromatic
#969F2C #BFCA3E #CFD76E #DFE49E #EFF1CE

Accessibility & contrast

On white

1.54
#CFD76E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#CFD76E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD76E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD76E#FFFFFF#000000##000000
##CFD76E1.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF65
Deuteranopia (green-blind)
#E4D173
Tritanopia (blue-blind)
#DACCBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd76e;
/* rgb */ color: rgb(207, 215, 110);
/* oklch */ color: oklch(85.1% 0.130 112.7);
Tailwind
colors: {
  custom: {
    50: '#dfe39a',
    500: '#cfd76e',
    950: '#000000',
  },
}
SCSS
$custom: #cfd76e;
$custom-light: #dfe39a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd76e",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 110
  },
  "hsl": {
    "h": 64.571,
    "s": 56.757,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85115,
    "c": 0.12963,
    "h": 112.7
  },
  "luminance": 0.62992
}

Semantic roles & 50–950 ramp

primary
#CFD76E
secondary
#4D46A3
accent
#21C42E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CFD76E

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

Preview Lab → · Contrast checker → · Palette generator →

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