#CFC76A#CFC76A

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

Color values

HEX#CFC76A
RGBrgb(207, 199, 106)
HSLhsl(55, 51%, 61%)
HSVhsv(55, 49%, 81%)
CMYKcmyk(0%, 3.9%, 48.8%, 18.8%)
CIE-LABlab(79.13, -9.79, 47.18)
CIE-LCHlch(79.13, 48.18, 101.72°)
OKLaboklab(81.67% -0.0285 0.1121)
OKLCHoklch(81.67% 0.116 104.3)
XYZxyz(48.7583, 55.1543, 21.7103)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC76A #6A72CF
analogous
#CF956A #CFC76A #A5CF6A
triadic
#CFC76A #6ACFC7 #C76ACF
tetradic
#CFC76A #6ACF95 #6A72CF #CF6AA5
square
#CFC76A #6ACF95 #6A72CF #CF6AA5
split-complementary
#CFC76A #6AA5CF #956ACF
monochromatic
#90882E #BEB43D #CFC76A #DED898 #EDEAC7

Accessibility & contrast

On white

1.75
#CFC76A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CFC76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC76A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC76A#FFFFFF#000000##000000
##CFC76A1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C162
Deuteranopia (green-blind)
#D8C66E
Tritanopia (blue-blind)
#DCBCB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc76a;
/* rgb */ color: rgb(207, 199, 106);
/* oklch */ color: oklch(81.7% 0.116 104.3);
Tailwind
colors: {
  custom: {
    50: '#dfd797',
    500: '#cfc76a',
    950: '#000000',
  },
}
SCSS
$custom: #cfc76a;
$custom-light: #dfd797;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc76a",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 106
  },
  "hsl": {
    "h": 55.248,
    "s": 51.269,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81669,
    "c": 0.11569,
    "h": 104.3
  },
  "luminance": 0.55153
}

Semantic roles & 50–950 ramp

primary
#CFC76A
secondary
#474D96
accent
#33BF27
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC76A

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

Preview Lab → · Contrast checker → · Palette generator →

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