#C8C439#C8C439

#C8C439 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.9% C 0.154 H 107.8°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#C8C439
RGBrgb(200, 196, 57)
HSLhsl(58, 57%, 50%)
HSVhsv(58, 72%, 78%)
CMYKcmyk(0%, 2%, 71.5%, 21.6%)
CIE-LABlab(77.31, -14.55, 66.12)
CIE-LCHlch(77.31, 67.70, 102.41°)
OKLaboklab(79.94% -0.0468 0.1463)
OKLCHoklch(79.94% 0.154 107.8)
XYZxyz(44.2995, 52.0561, 11.5844)
Luminance0.5205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C439 #393DC8
analogous
#C87D39 #C8C439 #84C839
triadic
#C8C439 #39C8C4 #C439C8
tetradic
#C8C439 #39C87D #393DC8 #C83984
square
#C8C439 #39C87D #393DC8 #C83984
split-complementary
#C8C439 #3984C8 #7D39C8
monochromatic
#69671D #99962B #C8C439 #D5D269 #E3E199

Accessibility & contrast

On white

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

On black

11.41
#C8C439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C439
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C439#FFFFFF#000000##000000
##C8C4391.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC20
Deuteranopia (green-blind)
#D7C143
Tritanopia (blue-blind)
#D6B7A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c8c439;
/* rgb */ color: rgb(200, 196, 57);
/* oklch */ color: oklch(79.9% 0.154 107.8);
Tailwind
colors: {
  custom: {
    50: '#dcd579',
    500: '#c8c439',
    950: '#000000',
  },
}
SCSS
$custom: #c8c439;
$custom-light: #dcd579;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c439",
  "rgb": {
    "r": 200,
    "g": 196,
    "b": 57
  },
  "hsl": {
    "h": 58.322,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79944,
    "c": 0.15359,
    "h": 107.8
  },
  "luminance": 0.52055
}

Semantic roles & 50–950 ramp

primary
#C8C439
secondary
#323473
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8C439

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

Preview Lab → · Contrast checker → · Palette generator →

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