#C5C03E#C5C03E

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

Color values

HEX#C5C03E
RGBrgb(197, 192, 62)
HSLhsl(58, 54%, 51%)
HSVhsv(58, 69%, 77%)
CMYKcmyk(0%, 2.5%, 68.5%, 22.7%)
CIE-LABlab(76.02, -13.55, 62.92)
CIE-LCHlch(76.02, 64.37, 102.16°)
OKLaboklab(78.86% -0.0434 0.1405)
OKLCHoklch(78.86% 0.147 107.2)
XYZxyz(42.7467, 49.9188, 11.9401)
Luminance0.4992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C03E #3E43C5
analogous
#C57C3E #C5C03E #86C53E
triadic
#C5C03E #3EC5C0 #C03EC5
tetradic
#C5C03E #3EC57C #3E43C5 #C53E86
square
#C5C03E #3EC57C #3E43C5 #C53E86
split-complementary
#C5C03E #3E86C5 #7C3EC5
monochromatic
#696620 #98942E #C5C03E #D3CF6D #E1DF9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C03E#FFFFFF#000000##000000
##C5C03E1.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)
#D0B92A
Deuteranopia (green-blind)
#D2BE47
Tritanopia (blue-blind)
#D3B4A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5c03e;
/* rgb */ color: rgb(197, 192, 62);
/* oklch */ color: oklch(78.9% 0.147 107.2);
Tailwind
colors: {
  custom: {
    50: '#dad27b',
    500: '#c5c03e',
    950: '#000000',
  },
}
SCSS
$custom: #c5c03e;
$custom-light: #dad27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c03e",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 62
  },
  "hsl": {
    "h": 57.778,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.78861,
    "c": 0.14704,
    "h": 107.2
  },
  "luminance": 0.49917
}

Semantic roles & 50–950 ramp

primary
#C5C03E
secondary
#9194CD
accent
#50DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5C03E

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

Preview Lab → · Contrast checker → · Palette generator →

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