#CFC76D#CFC76D

#CFC76D is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.113 H 104.1°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#CFC76D
RGBrgb(207, 199, 109)
HSLhsl(55, 51%, 62%)
HSVhsv(55, 47%, 81%)
CMYKcmyk(0%, 3.9%, 47.3%, 18.8%)
CIE-LABlab(79.17, -9.51, 45.76)
CIE-LCHlch(79.17, 46.73, 101.74°)
OKLaboklab(81.71% -0.0274 0.1092)
OKLCHoklch(81.71% 0.113 104.1)
XYZxyz(48.9171, 55.2178, 22.5463)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC76D #6D75CF
analogous
#CF966D #CFC76D #A6CF6D
triadic
#CFC76D #6DCFC7 #C76DCF
tetradic
#CFC76D #6DCF96 #6D75CF #CF6DA6
square
#CFC76D #6DCF96 #6D75CF #CF6DA6
split-complementary
#CFC76D #6DA6CF #966DCF
monochromatic
#928A30 #C0B53F #CFC76D #DED99B #EDEAC9

Accessibility & contrast

On white

1.74
#CFC76D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#CFC76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC76D
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC76D#FFFFFF#000000##000000
##CFC76D1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C165
Deuteranopia (green-blind)
#D8C671
Tritanopia (blue-blind)
#DCBCB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc76d;
/* rgb */ color: rgb(207, 199, 109);
/* oklch */ color: oklch(81.7% 0.113 104.1);
Tailwind
colors: {
  custom: {
    50: '#dfd799',
    500: '#cfc76d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc76d;
$custom-light: #dfd799;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc76d",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 109
  },
  "hsl": {
    "h": 55.102,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8171,
    "c": 0.11262,
    "h": 104.1
  },
  "luminance": 0.55216
}

Semantic roles & 50–950 ramp

primary
#CFC76D
secondary
#484F98
accent
#34BE28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC76D

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

Preview Lab → · Contrast checker → · Palette generator →

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