#CFC177#CFC177

#CFC177 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.096 H 98.8°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#CFC177
RGBrgb(207, 193, 119)
HSLhsl(50, 48%, 64%)
HSVhsv(50, 43%, 81%)
CMYKcmyk(0%, 6.8%, 42.5%, 18.8%)
CIE-LABlab(77.72, -5.43, 38.97)
CIE-LCHlch(77.72, 39.34, 97.93°)
OKLaboklab(80.61% -0.0147 0.0947)
OKLCHoklch(80.61% 0.096 98.8)
XYZxyz(48.1330, 52.7388, 25.0933)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC177 #7785CF
analogous
#CF9577 #CFC177 #B1CF77
triadic
#CFC177 #77CFC1 #C177CF
tetradic
#CFC177 #77CF95 #7785CF #CF77B1
square
#CFC177 #77CF95 #7785CF #CF77B1
split-complementary
#CFC177 #77B1CF #9577CF
monochromatic
#968735 #BFAC4A #CFC177 #DFD6A4 #EFEAD1

Accessibility & contrast

On white

1.82
#CFC177 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#CFC177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC177
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC177#FFFFFF#000000##000000
##CFC1771.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD71
Deuteranopia (green-blind)
#D2C27A
Tritanopia (blue-blind)
#DBB7AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc177;
/* rgb */ color: rgb(207, 193, 119);
/* oklch */ color: oklch(80.6% 0.096 98.8);
Tailwind
colors: {
  custom: {
    50: '#dfd39f',
    500: '#cfc177',
    950: '#000000',
  },
}
SCSS
$custom: #cfc177;
$custom-light: #dfd39f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc177",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 119
  },
  "hsl": {
    "h": 50.455,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.80607,
    "c": 0.09583,
    "h": 98.8
  },
  "luminance": 0.52737
}

Semantic roles & 50–950 ramp

primary
#CFC177
secondary
#4E5A9C
accent
#41BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC177

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

Preview Lab → · Contrast checker → · Palette generator →

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