#CFC377#CFC377

#CFC377 is a light, moderate yellow. Relative luminance 0.536; OKLCH L 81.0% C 0.098 H 100.4°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CFC377
RGBrgb(207, 195, 119)
HSLhsl(52, 48%, 64%)
HSVhsv(52, 43%, 81%)
CMYKcmyk(0%, 5.8%, 42.5%, 18.8%)
CIE-LABlab(78.24, -6.46, 39.63)
CIE-LCHlch(78.24, 40.15, 99.26°)
OKLaboklab(81.02% -0.0177 0.0962)
OKLCHoklch(81.02% 0.098 100.4)
XYZxyz(48.5781, 53.6290, 25.2417)
Luminance0.5363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC377 #7783CF
analogous
#CF9777 #CFC377 #AFCF77
triadic
#CFC377 #77CFC3 #C377CF
tetradic
#CFC377 #77CF97 #7783CF #CF77AF
square
#CFC377 #77CF97 #7783CF #CF77AF
split-complementary
#CFC377 #77AFCF #9777CF
monochromatic
#968935 #BFAF4A #CFC377 #DFD7A4 #EFEBD1

Accessibility & contrast

On white

1.79
#CFC377 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CFC377 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC377
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC377#FFFFFF#000000##000000
##CFC3771.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BF71
Deuteranopia (green-blind)
#D4C47A
Tritanopia (blue-blind)
#DBB9B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc377;
/* rgb */ color: rgb(207, 195, 119);
/* oklch */ color: oklch(81.0% 0.098 100.4);
Tailwind
colors: {
  custom: {
    50: '#dfd59f',
    500: '#cfc377',
    950: '#000000',
  },
}
SCSS
$custom: #cfc377;
$custom-light: #dfd59f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc377",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 119
  },
  "hsl": {
    "h": 51.818,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.81022,
    "c": 0.09781,
    "h": 100.4
  },
  "luminance": 0.53628
}

Semantic roles & 50–950 ramp

primary
#CFC377
secondary
#4E599C
accent
#3EBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC377

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

Preview Lab → · Contrast checker → · Palette generator →

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