#C8C83A#C8C83A

#C8C83A is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.8% C 0.157 H 109.5°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#C8C83A
RGBrgb(200, 200, 58)
HSLhsl(60, 56%, 51%)
HSVhsv(60, 71%, 78%)
CMYKcmyk(0%, 0%, 71%, 21.6%)
CIE-LABlab(78.40, -16.51, 66.81)
CIE-LCHlch(78.40, 68.82, 103.88°)
OKLaboklab(80.81% -0.0522 0.1479)
OKLCHoklch(80.81% 0.157 109.5)
XYZxyz(45.2390, 53.8947, 12.0219)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C83A #3A3AC8
analogous
#C8813A #C8C83A #81C83A
triadic
#C8C83A #3AC8C8 #C83AC8
tetradic
#C8C83A #3AC881 #3A3AC8 #C83A81
square
#C8C83A #3AC881 #3A3AC8 #C83A81
split-complementary
#C8C83A #3A81C8 #813AC8
monochromatic
#6A6A1E #9A9A2B #C8C83A #D5D56A #E3E39A

Accessibility & contrast

On white

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

On black

11.78
#C8C83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C83A
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C83A#FFFFFF#000000##000000
##C8C83A1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C020
Deuteranopia (green-blind)
#DAC445
Tritanopia (blue-blind)
#D6BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c83a;
/* rgb */ color: rgb(200, 200, 58);
/* oklch */ color: oklch(80.8% 0.157 109.5);
Tailwind
colors: {
  custom: {
    50: '#dcd87a',
    500: '#c8c83a',
    950: '#000000',
  },
}
SCSS
$custom: #c8c83a;
$custom-light: #dcd87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c83a",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 58
  },
  "hsl": {
    "h": 60,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.80812,
    "c": 0.15687,
    "h": 109.5
  },
  "luminance": 0.53893
}

Semantic roles & 50–950 ramp

primary
#C8C83A
secondary
#323274
accent
#48E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8C83A

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

Preview Lab → · Contrast checker → · Palette generator →

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