#C5C13A#C5C13A

#C5C13A is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.0% C 0.151 H 107.7°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#C5C13A
RGBrgb(197, 193, 58)
HSLhsl(58, 55%, 50%)
HSVhsv(58, 71%, 77%)
CMYKcmyk(0%, 2%, 70.6%, 22.7%)
CIE-LABlab(76.26, -14.26, 64.66)
CIE-LCHlch(76.26, 66.21, 102.44°)
OKLaboklab(79.05% -0.0458 0.1435)
OKLCHoklch(79.05% 0.151 107.7)
XYZxyz(42.8613, 50.3171, 11.4566)
Luminance0.5032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C13A #3A3EC5
analogous
#C57B3A #C5C13A #84C53A
triadic
#C5C13A #3AC5C1 #C13AC5
tetradic
#C5C13A #3AC57B #3A3EC5 #C53A84
square
#C5C13A #3AC57B #3A3EC5 #C53A84
split-complementary
#C5C13A #3A84C5 #7B3AC5
monochromatic
#66641E #96932C #C5C13A #D3D069 #E1DF99

Accessibility & contrast

On white

1.90
#C5C13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#C5C13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C13A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C13A#FFFFFF#000000##000000
##C5C13A1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B923
Deuteranopia (green-blind)
#D3BE44
Tritanopia (blue-blind)
#D3B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c13a;
/* rgb */ color: rgb(197, 193, 58);
/* oklch */ color: oklch(79.0% 0.151 107.7);
Tailwind
colors: {
  custom: {
    50: '#dad379',
    500: '#c5c13a',
    950: '#000000',
  },
}
SCSS
$custom: #c5c13a;
$custom-light: #dad379;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c13a",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 58
  },
  "hsl": {
    "h": 58.273,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.79048,
    "c": 0.15058,
    "h": 107.7
  },
  "luminance": 0.50316
}

Semantic roles & 50–950 ramp

primary
#C5C13A
secondary
#323471
accent
#4EDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C13A

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

Preview Lab → · Contrast checker → · Palette generator →

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