#C5C03D#C5C03D

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

Color values

HEX#C5C03D
RGBrgb(197, 192, 61)
HSLhsl(58, 54%, 51%)
HSVhsv(58, 69%, 77%)
CMYKcmyk(0%, 2.5%, 69%, 22.7%)
CIE-LABlab(76.01, -13.61, 63.30)
CIE-LCHlch(76.01, 64.74, 102.13°)
OKLaboklab(78.85% -0.0436 0.1411)
OKLCHoklch(78.85% 0.148 107.2)
XYZxyz(42.7195, 49.9079, 11.7969)
Luminance0.4991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C03D #3D42C5
analogous
#C57C3D #C5C03D #86C53D
triadic
#C5C03D #3DC5C0 #C03DC5
tetradic
#C5C03D #3DC57C #3D42C5 #C53D86
square
#C5C03D #3DC57C #3D42C5 #C53D86
split-complementary
#C5C03D #3D86C5 #7C3DC5
monochromatic
#68661F #98942D #C5C03D #D3CF6C #E1DF9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C03D#FFFFFF#000000##000000
##C5C03D1.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)
#D0B928
Deuteranopia (green-blind)
#D3BE46
Tritanopia (blue-blind)
#D3B4A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5c03d;
/* rgb */ color: rgb(197, 192, 61);
/* oklch */ color: oklch(78.9% 0.148 107.2);
Tailwind
colors: {
  custom: {
    50: '#dad27a',
    500: '#c5c03d',
    950: '#000000',
  },
}
SCSS
$custom: #c5c03d;
$custom-light: #dad27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c03d",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 61
  },
  "hsl": {
    "h": 57.794,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78854,
    "c": 0.1477,
    "h": 107.2
  },
  "luminance": 0.49907
}

Semantic roles & 50–950 ramp

primary
#C5C03D
secondary
#9193CD
accent
#50DD4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5C03D

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

Preview Lab → · Contrast checker → · Palette generator →

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