#C5C03C#C5C03C

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

Color values

HEX#C5C03C
RGBrgb(197, 192, 60)
HSLhsl(58, 54%, 50%)
HSVhsv(58, 70%, 77%)
CMYKcmyk(0%, 2.5%, 69.5%, 22.7%)
CIE-LABlab(76.01, -13.66, 63.67)
CIE-LCHlch(76.01, 65.11, 102.11°)
OKLaboklab(78.85% -0.0439 0.1417)
OKLCHoklch(78.85% 0.148 107.2)
XYZxyz(42.6928, 49.8973, 11.6563)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C03C #3C41C5
analogous
#C57B3C #C5C03C #86C53C
triadic
#C5C03C #3CC5C0 #C03CC5
tetradic
#C5C03C #3CC57B #3C41C5 #C53C86
square
#C5C03C #3CC57B #3C41C5 #C53C86
split-complementary
#C5C03C #3C86C5 #7B3CC5
monochromatic
#68651F #97932D #C5C03C #D3CF6B #E1DE9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C03C#FFFFFF#000000##000000
##C5C03C1.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)
#D0B927
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#D3B3A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5c03c;
/* rgb */ color: rgb(197, 192, 60);
/* oklch */ color: oklch(78.8% 0.148 107.2);
Tailwind
colors: {
  custom: {
    50: '#dad27a',
    500: '#c5c03c',
    950: '#000000',
  },
}
SCSS
$custom: #c5c03c;
$custom-light: #dad27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c03c",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 60
  },
  "hsl": {
    "h": 57.81,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78846,
    "c": 0.14835,
    "h": 107.2
  },
  "luminance": 0.49896
}

Semantic roles & 50–950 ramp

primary
#C5C03C
secondary
#9092CD
accent
#50DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5C03C

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

Preview Lab → · Contrast checker → · Palette generator →

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