#C8C430#C8C430

#C8C430 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.9% C 0.159 H 107.9°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#C8C430
RGBrgb(200, 196, 48)
HSLhsl(58, 61%, 49%)
HSVhsv(58, 76%, 78%)
CMYKcmyk(0%, 2%, 76%, 21.6%)
CIE-LABlab(77.27, -14.94, 69.07)
CIE-LCHlch(77.27, 70.67, 102.20°)
OKLaboklab(79.89% -0.0487 0.1509)
OKLCHoklch(79.89% 0.159 107.9)
XYZxyz(44.0946, 51.9741, 10.5050)
Luminance0.5197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C430 #3034C8
analogous
#C87830 #C8C430 #80C830
triadic
#C8C430 #30C8C4 #C430C8
tetradic
#C8C430 #30C878 #3034C8 #C83080
square
#C8C430 #30C878 #3034C8 #C83080
split-complementary
#C8C430 #3080C8 #7830C8
monochromatic
#656318 #979424 #C8C430 #D8D55D #E4E28E

Accessibility & contrast

On white

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

On black

11.39
#C8C430 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C430
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C430#FFFFFF#000000##000000
##C8C4301.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC08
Deuteranopia (green-blind)
#D7C13C
Tritanopia (blue-blind)
#D7B7A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c8c430;
/* rgb */ color: rgb(200, 196, 48);
/* oklch */ color: oklch(79.9% 0.159 107.9);
Tailwind
colors: {
  custom: {
    50: '#ddd574',
    500: '#c8c430',
    950: '#000000',
  },
}
SCSS
$custom: #c8c430;
$custom-light: #ddd574;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c430",
  "rgb": {
    "r": 200,
    "g": 196,
    "b": 48
  },
  "hsl": {
    "h": 58.421,
    "s": 61.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.79889,
    "c": 0.15859,
    "h": 107.9
  },
  "luminance": 0.51973
}

Semantic roles & 50–950 ramp

primary
#C8C430
secondary
#2D2E70
accent
#48E443
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C430

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

Preview Lab → · Contrast checker → · Palette generator →

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