#C5C03F#C5C03F

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

Color values

HEX#C5C03F
RGBrgb(197, 192, 63)
HSLhsl(58, 54%, 51%)
HSVhsv(58, 68%, 77%)
CMYKcmyk(0%, 2.5%, 68%, 22.7%)
CIE-LABlab(76.03, -13.50, 62.55)
CIE-LCHlch(76.03, 63.99, 102.18°)
OKLaboklab(78.87% -0.0431 0.1399)
OKLCHoklch(78.87% 0.146 107.1)
XYZxyz(42.7744, 49.9299, 12.0859)
Luminance0.4993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C03F #3F44C5
analogous
#C57D3F #C5C03F #87C53F
triadic
#C5C03F #3FC5C0 #C03FC5
tetradic
#C5C03F #3FC57D #3F44C5 #C53F87
square
#C5C03F #3FC57D #3F44C5 #C53F87
split-complementary
#C5C03F #3F87C5 #7D3FC5
monochromatic
#6A6720 #99952E #C5C03F #D3CF6E #E1DF9D

Accessibility & contrast

On white

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

On black

10.99
#C5C03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C03F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C03F#FFFFFF#000000##000000
##C5C03F1.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#D2BE48
Tritanopia (blue-blind)
#D3B4A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5c03f;
/* rgb */ color: rgb(197, 192, 63);
/* oklch */ color: oklch(78.9% 0.146 107.1);
Tailwind
colors: {
  custom: {
    50: '#dad27c',
    500: '#c5c03f',
    950: '#000000',
  },
}
SCSS
$custom: #c5c03f;
$custom-light: #dad27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c03f",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 63
  },
  "hsl": {
    "h": 57.761,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78869,
    "c": 0.14637,
    "h": 107.1
  },
  "luminance": 0.49928
}

Semantic roles & 50–950 ramp

primary
#C5C03F
secondary
#9294CE
accent
#50DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5C03F

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

Preview Lab → · Contrast checker → · Palette generator →

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