#CFC477#CFC477

#CFC477 is a light, moderate yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.099 H 101.2°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CFC477
RGBrgb(207, 196, 119)
HSLhsl(53, 48%, 64%)
HSVhsv(53, 43%, 81%)
CMYKcmyk(0%, 5.3%, 42.5%, 18.8%)
CIE-LABlab(78.51, -6.98, 39.96)
CIE-LCHlch(78.51, 40.57, 99.91°)
OKLaboklab(81.23% -0.0192 0.0969)
OKLCHoklch(81.23% 0.099 101.2)
XYZxyz(48.8029, 54.0786, 25.3166)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC477 #7782CF
analogous
#CF9877 #CFC477 #AECF77
triadic
#CFC477 #77CFC4 #C477CF
tetradic
#CFC477 #77CF98 #7782CF #CF77AE
square
#CFC477 #77CF98 #7782CF #CF77AE
split-complementary
#CFC477 #77AECF #9877CF
monochromatic
#968A35 #BFB04A #CFC477 #DFD8A4 #EFEBD1

Accessibility & contrast

On white

1.78
#CFC477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CFC477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC477
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC477#FFFFFF#000000##000000
##CFC4771.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF71
Deuteranopia (green-blind)
#D5C47A
Tritanopia (blue-blind)
#DBBAB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc477;
/* rgb */ color: rgb(207, 196, 119);
/* oklch */ color: oklch(81.2% 0.099 101.2);
Tailwind
colors: {
  custom: {
    50: '#dfd59f',
    500: '#cfc477',
    950: '#000000',
  },
}
SCSS
$custom: #cfc477;
$custom-light: #dfd59f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc477",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 119
  },
  "hsl": {
    "h": 52.5,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8123,
    "c": 0.09883,
    "h": 101.2
  },
  "luminance": 0.54077
}

Semantic roles & 50–950 ramp

primary
#CFC477
secondary
#4E589C
accent
#3CBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC477

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

Preview Lab → · Contrast checker → · Palette generator →

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