#CFC476#CFC476

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

Color values

HEX#CFC476
RGBrgb(207, 196, 118)
HSLhsl(53, 48%, 64%)
HSVhsv(53, 43%, 81%)
CMYKcmyk(0%, 5.3%, 43%, 18.8%)
CIE-LABlab(78.49, -7.08, 40.45)
CIE-LCHlch(78.49, 41.06, 99.93°)
OKLaboklab(81.22% -0.0196 0.098)
OKLCHoklch(81.22% 0.1 101.3)
XYZxyz(48.7431, 54.0547, 25.0020)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC476 #7681CF
analogous
#CF9776 #CFC476 #ADCF76
triadic
#CFC476 #76CFC4 #C476CF
tetradic
#CFC476 #76CF97 #7681CF #CF76AD
square
#CFC476 #76CF97 #7681CF #CF76AD
split-complementary
#CFC476 #76ADCF #9776CF
monochromatic
#968A35 #BFB049 #CFC476 #DFD8A3 #EFEBD1

Accessibility & contrast

On white

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

On black

11.81
#CFC476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC476
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC476#FFFFFF#000000##000000
##CFC4761.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfc476;
/* rgb */ color: rgb(207, 196, 118);
/* oklch */ color: oklch(81.2% 0.100 101.3);
Tailwind
colors: {
  custom: {
    50: '#dfd59f',
    500: '#cfc476',
    950: '#000000',
  },
}
SCSS
$custom: #cfc476;
$custom-light: #dfd59f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc476",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 118
  },
  "hsl": {
    "h": 52.584,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81215,
    "c": 0.09993,
    "h": 101.3
  },
  "luminance": 0.54053
}

Semantic roles & 50–950 ramp

primary
#CFC476
secondary
#4D579C
accent
#3CBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CFC476

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

Preview Lab → · Contrast checker → · Palette generator →

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