#CFC77C#CFC77C

#CFC77C is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.096 H 103.0°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CFC77C
RGBrgb(207, 199, 124)
HSLhsl(54, 46%, 65%)
HSVhsv(54, 40%, 81%)
CMYKcmyk(0%, 3.9%, 40.1%, 18.8%)
CIE-LABlab(79.37, -7.99, 38.52)
CIE-LCHlch(79.37, 39.34, 101.73°)
OKLaboklab(81.94% -0.0217 0.0939)
OKLCHoklch(81.94% 0.096 103)
XYZxyz(49.7945, 55.5688, 27.1677)
Luminance0.5557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC77C #7C84CF
analogous
#CF9E7C #CFC77C #ADCF7C
triadic
#CFC77C #7CCFC7 #C77CCF
tetradic
#CFC77C #7CCF9E #7C84CF #CF7CAD
square
#CFC77C #7CCF9E #7C84CF #CF7CAD
split-complementary
#CFC77C #7CADCF #9E7CCF
monochromatic
#998F38 #BFB44F #CFC77C #DFDAA9 #F0EDD6

Accessibility & contrast

On white

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

On black

12.11
#CFC77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC77C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC77C#FFFFFF#000000##000000
##CFC77C1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C276
Deuteranopia (green-blind)
#D6C77F
Tritanopia (blue-blind)
#DABEB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc77c;
/* rgb */ color: rgb(207, 199, 124);
/* oklch */ color: oklch(81.9% 0.096 103.0);
Tailwind
colors: {
  custom: {
    50: '#dfd7a3',
    500: '#cfc77c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc77c;
$custom-light: #dfd7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc77c",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 124
  },
  "hsl": {
    "h": 54.217,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.81935,
    "c": 0.09641,
    "h": 103
  },
  "luminance": 0.55567
}

Semantic roles & 50–950 ramp

primary
#CFC77C
secondary
#51589E
accent
#3ABA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC77C

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

Preview Lab → · Contrast checker → · Palette generator →

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