#C8C92A#C8C92A

#C8C92A is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.9% C 0.166 H 110.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#C8C92A
RGBrgb(200, 201, 42)
HSLhsl(60, 65%, 48%)
HSVhsv(60, 79%, 79%)
CMYKcmyk(0.5%, 0%, 79.1%, 21.2%)
CIE-LABlab(78.59, -17.66, 72.02)
CIE-LCHlch(78.59, 74.15, 103.78°)
OKLaboklab(80.94% -0.0568 0.1561)
OKLCHoklch(80.94% 0.166 110)
XYZxyz(45.1257, 54.2212, 10.2787)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C92A #2B2AC9
analogous
#C97A2A #C8C92A #79C92A
triadic
#C8C92A #2AC8C9 #C92AC8
tetradic
#C8C92A #2AC97A #2B2AC9 #C92A79
square
#C8C92A #2AC97A #2B2AC9 #C92A79
split-complementary
#C8C92A #2A79C9 #7A2AC9
monochromatic
#636415 #96961F #C8C92A #DBDB55 #E5E687

Accessibility & contrast

On white

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

On black

11.84
#C8C92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C92A
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C92A#FFFFFF#000000##000000
##C8C92A1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC000
Deuteranopia (green-blind)
#DBC539
Tritanopia (blue-blind)
#D7BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c8c92a;
/* rgb */ color: rgb(200, 201, 42);
/* oklch */ color: oklch(80.9% 0.166 110.0);
Tailwind
colors: {
  custom: {
    50: '#ddd973',
    500: '#c8c92a',
    950: '#000000',
  },
}
SCSS
$custom: #c8c92a;
$custom-light: #ddd973;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c92a",
  "rgb": {
    "r": 200,
    "g": 201,
    "b": 42
  },
  "hsl": {
    "h": 60.377,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.80939,
    "c": 0.16614,
    "h": 110
  },
  "luminance": 0.5422
}

Semantic roles & 50–950 ramp

primary
#C8C92A
secondary
#29296E
accent
#3FE840
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C8C92A

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

Preview Lab → · Contrast checker → · Palette generator →

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