#CFC577#CFC577

#CFC577 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.100 H 102.0°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#CFC577
RGBrgb(207, 197, 119)
HSLhsl(53, 48%, 64%)
HSVhsv(53, 43%, 81%)
CMYKcmyk(0%, 4.8%, 42.5%, 18.8%)
CIE-LABlab(78.77, -7.50, 40.29)
CIE-LCHlch(78.77, 40.98, 100.54°)
OKLaboklab(81.44% -0.0207 0.0977)
OKLCHoklch(81.44% 0.1 102)
XYZxyz(49.0292, 54.5312, 25.3921)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC577 #7781CF
analogous
#CF9977 #CFC577 #ADCF77
triadic
#CFC577 #77CFC5 #C577CF
tetradic
#CFC577 #77CF99 #7781CF #CF77AD
square
#CFC577 #77CF99 #7781CF #CF77AD
split-complementary
#CFC577 #77ADCF #9977CF
monochromatic
#968B35 #BFB24A #CFC577 #DFD8A4 #EFECD1

Accessibility & contrast

On white

1.76
#CFC577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#CFC577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC577
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC577#FFFFFF#000000##000000
##CFC5771.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C071
Deuteranopia (green-blind)
#D5C57A
Tritanopia (blue-blind)
#DBBBB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc577;
/* rgb */ color: rgb(207, 197, 119);
/* oklch */ color: oklch(81.4% 0.100 102.0);
Tailwind
colors: {
  custom: {
    50: '#dfd69f',
    500: '#cfc577',
    950: '#000000',
  },
}
SCSS
$custom: #cfc577;
$custom-light: #dfd69f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc577",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 119
  },
  "hsl": {
    "h": 53.182,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.81439,
    "c": 0.09986,
    "h": 102
  },
  "luminance": 0.5453
}

Semantic roles & 50–950 ramp

primary
#CFC577
secondary
#4E579C
accent
#3BBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC577

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

Preview Lab → · Contrast checker → · Palette generator →

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