#C8C930#C8C930

#C8C930 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.0% C 0.163 H 109.9°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#C8C930
RGBrgb(200, 201, 48)
HSLhsl(60, 61%, 49%)
HSVhsv(60, 76%, 79%)
CMYKcmyk(0.5%, 0%, 76.1%, 21.2%)
CIE-LABlab(78.62, -17.44, 70.30)
CIE-LCHlch(78.62, 72.44, 103.93°)
OKLaboklab(80.97% -0.0557 0.1536)
OKLCHoklch(80.97% 0.163 109.9)
XYZxyz(45.2412, 54.2674, 10.8872)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C930 #3130C9
analogous
#C97E30 #C8C930 #7CC930
triadic
#C8C930 #30C8C9 #C930C8
tetradic
#C8C930 #30C97E #3130C9 #C9307C
square
#C8C930 #30C97E #3130C9 #C9307C
split-complementary
#C8C930 #307CC9 #7E30C9
monochromatic
#666618 #979824 #C8C930 #D8D85E #E4E48F

Accessibility & contrast

On white

1.77
#C8C930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#C8C930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C930
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C930#FFFFFF#000000##000000
##C8C9301.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C002
Deuteranopia (green-blind)
#DBC53D
Tritanopia (blue-blind)
#D6BCAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c8c930;
/* rgb */ color: rgb(200, 201, 48);
/* oklch */ color: oklch(81.0% 0.163 109.9);
Tailwind
colors: {
  custom: {
    50: '#ddd975',
    500: '#c8c930',
    950: '#000000',
  },
}
SCSS
$custom: #c8c930;
$custom-light: #ddd975;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c930",
  "rgb": {
    "r": 200,
    "g": 201,
    "b": 48
  },
  "hsl": {
    "h": 60.392,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80969,
    "c": 0.16334,
    "h": 109.9
  },
  "luminance": 0.54266
}

Semantic roles & 50–950 ramp

primary
#C8C930
secondary
#2D2D70
accent
#43E544
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C930

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

Preview Lab → · Contrast checker → · Palette generator →

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