#CFD76F#CFD76F

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

Color values

HEX#CFD76F
RGBrgb(207, 215, 111)
HSLhsl(65, 57%, 64%)
HSVhsv(65, 48%, 84%)
CMYKcmyk(3.7%, 0%, 48.4%, 15.7%)
CIE-LABlab(83.45, -17.37, 49.97)
CIE-LCHlch(83.45, 52.90, 109.17°)
OKLaboklab(85.13% -0.0497 0.1187)
OKLCHoklch(85.13% 0.129 112.7)
XYZxyz(52.9027, 63.0149, 24.4121)
Luminance0.6301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD76F #776FD7
analogous
#D7AB6F #CFD76F #9BD76F
triadic
#CFD76F #6FCFD7 #D76FCF
tetradic
#CFD76F #6FD7AB #776FD7 #D76F9B
square
#CFD76F #6FD7AB #776FD7 #D76F9B
split-complementary
#CFD76F #6F9BD7 #AB6FD7
monochromatic
#969F2C #BFCA3F #CFD76F #DFE49F #EFF2CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD76F#FFFFFF#000000##000000
##CFD76F1.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)
#E4CF66
Deuteranopia (green-blind)
#E4D174
Tritanopia (blue-blind)
#DACCBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cfd76f;
/* rgb */ color: rgb(207, 215, 111);
/* oklch */ color: oklch(85.1% 0.129 112.7);
Tailwind
colors: {
  custom: {
    50: '#dfe39b',
    500: '#cfd76f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd76f;
$custom-light: #dfe39b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd76f",
  "rgb": {
    "r": 207,
    "g": 215,
    "b": 111
  },
  "hsl": {
    "h": 64.615,
    "s": 56.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85128,
    "c": 0.12863,
    "h": 112.7
  },
  "luminance": 0.63014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD76F

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

Preview Lab → · Contrast checker → · Palette generator →

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