#C8C474#C8C474

#C8C474 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.102 H 106.0°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#C8C474
RGBrgb(200, 196, 116)
HSLhsl(57, 43%, 62%)
HSVhsv(57, 42%, 78%)
CMYKcmyk(0%, 2%, 42%, 21.6%)
CIE-LABlab(77.89, -10.11, 40.57)
CIE-LCHlch(77.89, 41.81, 103.99°)
OKLaboklab(80.58% -0.0281 0.0982)
OKLCHoklch(80.58% 0.102 106)
XYZxyz(46.7126, 53.0213, 24.2930)
Luminance0.5302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C474 #7478C8
analogous
#C89A74 #C8C474 #A2C874
triadic
#C8C474 #74C8C4 #C474C8
tetradic
#C8C474 #74C89A #7478C8 #C874A2
square
#C8C474 #74C89A #7478C8 #C874A2
split-complementary
#C8C474 #74A2C8 #9A74C8
monochromatic
#8B8737 #B7B148 #C8C474 #D9D7A0 #EBE9CC

Accessibility & contrast

On white

1.81
#C8C474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#C8C474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C474
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C474#FFFFFF#000000##000000
##C8C4741.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE6E
Deuteranopia (green-blind)
#D2C277
Tritanopia (blue-blind)
#D3BBB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c8c474;
/* rgb */ color: rgb(200, 196, 116);
/* oklch */ color: oklch(80.6% 0.102 106.0);
Tailwind
colors: {
  custom: {
    50: '#dad59d',
    500: '#c8c474',
    950: '#000000',
  },
}
SCSS
$custom: #c8c474;
$custom-light: #dad59d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c474",
  "rgb": {
    "r": 200,
    "g": 196,
    "b": 116
  },
  "hsl": {
    "h": 57.143,
    "s": 43.299,
    "l": 61.961
  },
  "oklch": {
    "l": 0.80585,
    "c": 0.10217,
    "h": 106
  },
  "luminance": 0.5302
}

Semantic roles & 50–950 ramp

primary
#C8C474
secondary
#4E5192
accent
#36B62F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C8C474

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

Preview Lab → · Contrast checker → · Palette generator →

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