#CFC877#CFC877

#CFC877 is a very light, moderate yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.103 H 104.1°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#CFC877
RGBrgb(207, 200, 119)
HSLhsl(55, 48%, 64%)
HSVhsv(55, 43%, 81%)
CMYKcmyk(0%, 3.4%, 42.5%, 18.8%)
CIE-LABlab(79.56, -9.04, 41.29)
CIE-LCHlch(79.56, 42.26, 102.35°)
OKLaboklab(82.07% -0.0251 0.0999)
OKLCHoklch(82.07% 0.103 104.1)
XYZxyz(49.7172, 55.9072, 25.6214)
Luminance0.5591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC877 #777ECF
analogous
#CF9C77 #CFC877 #AACF77
triadic
#CFC877 #77CFC8 #C877CF
tetradic
#CFC877 #77CF9C #777ECF #CF77AA
square
#CFC877 #77CF9C #777ECF #CF77AA
split-complementary
#CFC877 #77AACF #9C77CF
monochromatic
#968F35 #BFB64A #CFC877 #DFDAA4 #EFEDD1

Accessibility & contrast

On white

1.72
#CFC877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#CFC877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC877
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC877#FFFFFF#000000##000000
##CFC8771.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C371
Deuteranopia (green-blind)
#D8C77A
Tritanopia (blue-blind)
#DBBEB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc877;
/* rgb */ color: rgb(207, 200, 119);
/* oklch */ color: oklch(82.1% 0.103 104.1);
Tailwind
colors: {
  custom: {
    50: '#dfd89f',
    500: '#cfc877',
    950: '#000000',
  },
}
SCSS
$custom: #cfc877;
$custom-light: #dfd89f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc877",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 119
  },
  "hsl": {
    "h": 55.227,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82065,
    "c": 0.10304,
    "h": 104.1
  },
  "luminance": 0.55906
}

Semantic roles & 50–950 ramp

primary
#CFC877
secondary
#4E549C
accent
#36BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC877

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

Preview Lab → · Contrast checker → · Palette generator →

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