#C5C03A#C5C03A

#C5C03A is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.8% C 0.150 H 107.2°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#C5C03A
RGBrgb(197, 192, 58)
HSLhsl(58, 55%, 50%)
HSVhsv(58, 71%, 77%)
CMYKcmyk(0%, 2.5%, 70.6%, 22.7%)
CIE-LABlab(75.99, -13.76, 64.39)
CIE-LCHlch(75.99, 65.85, 102.06°)
OKLaboklab(78.83% -0.0443 0.1429)
OKLCHoklch(78.83% 0.15 107.2)
XYZxyz(42.6409, 49.8765, 11.3832)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C03A #3A3FC5
analogous
#C57B3A #C5C03A #84C53A
triadic
#C5C03A #3AC5C0 #C03AC5
tetradic
#C5C03A #3AC57B #3A3FC5 #C53A84
square
#C5C03A #3AC57B #3A3FC5 #C53A84
split-complementary
#C5C03A #3A84C5 #7B3AC5
monochromatic
#66641E #96922C #C5C03A #D3CF69 #E1DE99

Accessibility & contrast

On white

1.91
#C5C03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#C5C03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C03A
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C03A#FFFFFF#000000##000000
##C5C03A1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B923
Deuteranopia (green-blind)
#D3BE44
Tritanopia (blue-blind)
#D3B3A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5c03a;
/* rgb */ color: rgb(197, 192, 58);
/* oklch */ color: oklch(78.8% 0.150 107.2);
Tailwind
colors: {
  custom: {
    50: '#dad279',
    500: '#c5c03a',
    950: '#000000',
  },
}
SCSS
$custom: #c5c03a;
$custom-light: #dad279;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c03a",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 57.842,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.78832,
    "c": 0.14963,
    "h": 107.2
  },
  "luminance": 0.49875
}

Semantic roles & 50–950 ramp

primary
#C5C03A
secondary
#8E91CD
accent
#4FDE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5C03A

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

Preview Lab → · Contrast checker → · Palette generator →

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