#CFC77D#CFC77D

#CFC77D is a light, moderate yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.095 H 102.9°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CFC77D
RGBrgb(207, 199, 125)
HSLhsl(54, 46%, 65%)
HSVhsv(54, 40%, 81%)
CMYKcmyk(0%, 3.9%, 39.6%, 18.8%)
CIE-LABlab(79.38, -7.89, 38.03)
CIE-LCHlch(79.38, 38.84, 101.72°)
OKLaboklab(81.95% -0.0213 0.0929)
OKLCHoklch(81.95% 0.095 102.9)
XYZxyz(49.8581, 55.5942, 27.5024)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC77D #7D85CF
analogous
#CF9E7D #CFC77D #AECF7D
triadic
#CFC77D #7DCFC7 #C77DCF
tetradic
#CFC77D #7DCF9E #7D85CF #CF7DAE
square
#CFC77D #7DCF9E #7D85CF #CF7DAE
split-complementary
#CFC77D #7DAECF #9E7DCF
monochromatic
#999039 #BEB450 #CFC77D #E0DAAA #F0EED6

Accessibility & contrast

On white

1.73
#CFC77D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CFC77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC77D
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC77D#FFFFFF#000000##000000
##CFC77D1.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C277
Deuteranopia (green-blind)
#D6C780
Tritanopia (blue-blind)
#DABEB5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc77d;
/* rgb */ color: rgb(207, 199, 125);
/* oklch */ color: oklch(82.0% 0.095 102.9);
Tailwind
colors: {
  custom: {
    50: '#dfd7a3',
    500: '#cfc77d',
    950: '#000000',
  },
}
SCSS
$custom: #cfc77d;
$custom-light: #dfd7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc77d",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 125
  },
  "hsl": {
    "h": 54.146,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81951,
    "c": 0.09529,
    "h": 102.9
  },
  "luminance": 0.55593
}

Semantic roles & 50–950 ramp

primary
#CFC77D
secondary
#51599F
accent
#3AB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC77D

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

Preview Lab → · Contrast checker → · Palette generator →

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