#CFC76C#CFC76C

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

Color values

HEX#CFC76C
RGBrgb(207, 199, 108)
HSLhsl(55, 51%, 62%)
HSVhsv(55, 48%, 81%)
CMYKcmyk(0%, 3.9%, 47.8%, 18.8%)
CIE-LABlab(79.15, -9.60, 46.23)
CIE-LCHlch(79.15, 47.22, 101.73°)
OKLaboklab(81.7% -0.0278 0.1102)
OKLCHoklch(81.7% 0.114 104.1)
XYZxyz(48.8635, 55.1964, 22.2645)
Luminance0.5520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC76C #6C74CF
analogous
#CF966C #CFC76C #A5CF6C
triadic
#CFC76C #6CCFC7 #C76CCF
tetradic
#CFC76C #6CCF96 #6C74CF #CF6CA5
square
#CFC76C #6CCF96 #6C74CF #CF6CA5
split-complementary
#CFC76C #6CA5CF #966CCF
monochromatic
#91892F #BFB53E #CFC76C #DED99A #EDEAC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC76C#FFFFFF#000000##000000
##CFC76C1.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)
#D5C164
Deuteranopia (green-blind)
#D8C670
Tritanopia (blue-blind)
#DCBCB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc76c;
/* rgb */ color: rgb(207, 199, 108);
/* oklch */ color: oklch(81.7% 0.114 104.1);
Tailwind
colors: {
  custom: {
    50: '#dfd798',
    500: '#cfc76c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc76c;
$custom-light: #dfd798;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc76c",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 108
  },
  "hsl": {
    "h": 55.152,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81696,
    "c": 0.11365,
    "h": 104.1
  },
  "luminance": 0.55195
}

Semantic roles & 50–950 ramp

primary
#CFC76C
secondary
#484E97
accent
#34BE27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC76C

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

Preview Lab → · Contrast checker → · Palette generator →

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