#C8C440#C8C440

#C8C440 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.0% C 0.149 H 107.6°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#C8C440
RGBrgb(200, 196, 64)
HSLhsl(58, 55%, 52%)
HSVhsv(58, 68%, 78%)
CMYKcmyk(0%, 2%, 68%, 21.6%)
CIE-LABlab(77.36, -14.20, 63.58)
CIE-LCHlch(77.36, 65.15, 102.59°)
OKLaboklab(79.99% -0.0452 0.1421)
OKLCHoklch(79.99% 0.149 107.6)
XYZxyz(44.4864, 52.1308, 12.5684)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C440 #4044C8
analogous
#C88040 #C8C440 #88C840
triadic
#C8C440 #40C8C4 #C440C8
tetradic
#C8C440 #40C880 #4044C8 #C84088
square
#C8C440 #40C880 #4044C8 #C84088
split-complementary
#C8C440 #4088C8 #8040C8
monochromatic
#6E6C20 #9D9A2D #C8C440 #D6D370 #E3E19F

Accessibility & contrast

On white

1.84
#C8C440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#C8C440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C440
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C440#FFFFFF#000000##000000
##C8C4401.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2C
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#D6B7AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c8c440;
/* rgb */ color: rgb(200, 196, 64);
/* oklch */ color: oklch(80.0% 0.149 107.6);
Tailwind
colors: {
  custom: {
    50: '#dcd57d',
    500: '#c8c440',
    950: '#000000',
  },
}
SCSS
$custom: #c8c440;
$custom-light: #dcd57d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c440",
  "rgb": {
    "r": 200,
    "g": 196,
    "b": 64
  },
  "hsl": {
    "h": 58.235,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79994,
    "c": 0.14913,
    "h": 107.6
  },
  "luminance": 0.52129
}

Semantic roles & 50–950 ramp

primary
#C8C440
secondary
#353777
accent
#4EDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8C440

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

Preview Lab → · Contrast checker → · Palette generator →

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