#C5C92A#C5C92A

#C5C92A is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.7% C 0.167 H 111.1°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#C5C92A
RGBrgb(197, 201, 42)
HSLhsl(62, 65%, 48%)
HSVhsv(62, 79%, 79%)
CMYKcmyk(2%, 0%, 79.1%, 21.2%)
CIE-LABlab(78.35, -18.93, 71.72)
CIE-LCHlch(78.35, 74.18, 104.79°)
OKLaboklab(80.69% -0.0602 0.1556)
OKLCHoklch(80.69% 0.167 111.1)
XYZxyz(44.3321, 53.8120, 10.2415)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C92A #2E2AC9
analogous
#C97D2A #C5C92A #76C92A
triadic
#C5C92A #2AC5C9 #C92AC5
tetradic
#C5C92A #2AC97D #2E2AC9 #C92A76
square
#C5C92A #2AC97D #2E2AC9 #C92A76
split-complementary
#C5C92A #2A76C9 #7D2AC9
monochromatic
#626415 #93961F #C5C92A #D8DB55 #E4E687

Accessibility & contrast

On white

1.79
#C5C92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#C5C92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C92A
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C92A#FFFFFF#000000##000000
##C5C92A1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#DAC439
Tritanopia (blue-blind)
#D3BCAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c5c92a;
/* rgb */ color: rgb(197, 201, 42);
/* oklch */ color: oklch(80.7% 0.167 111.1);
Tailwind
colors: {
  custom: {
    50: '#dbd972',
    500: '#c5c92a',
    950: '#000000',
  },
}
SCSS
$custom: #c5c92a;
$custom-light: #dbd972;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c92a",
  "rgb": {
    "r": 197,
    "g": 201,
    "b": 42
  },
  "hsl": {
    "h": 61.509,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.8069,
    "c": 0.16684,
    "h": 111.1
  },
  "luminance": 0.53811
}

Semantic roles & 50–950 ramp

primary
#C5C92A
secondary
#2B296E
accent
#3FE844
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C92A

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

Preview Lab → · Contrast checker → · Palette generator →

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