#C5C53A#C5C53A

#C5C53A is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.9% C 0.154 H 109.4°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#C5C53A
RGBrgb(197, 197, 58)
HSLhsl(60, 55%, 50%)
HSVhsv(60, 71%, 77%)
CMYKcmyk(0%, 0%, 70.6%, 22.7%)
CIE-LABlab(77.35, -16.28, 65.71)
CIE-LCHlch(77.35, 67.69, 103.91°)
OKLaboklab(79.91% -0.0514 0.1457)
OKLCHoklch(79.91% 0.155 109.4)
XYZxyz(43.7575, 52.1096, 11.7553)
Luminance0.5211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C53A #3A3AC5
analogous
#C5803A #C5C53A #80C53A
triadic
#C5C53A #3AC5C5 #C53AC5
tetradic
#C5C53A #3AC580 #3A3AC5 #C53A80
square
#C5C53A #3AC580 #3A3AC5 #C53A80
split-complementary
#C5C53A #3A7FC5 #7F3AC5
monochromatic
#66661E #96962C #C5C53A #D3D369 #E1E199

Accessibility & contrast

On white

1.84
#C5C53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#C5C53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C53A
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C53A#FFFFFF#000000##000000
##C5C53A1.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD21
Deuteranopia (green-blind)
#D6C144
Tritanopia (blue-blind)
#D3B8AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c5c53a;
/* rgb */ color: rgb(197, 197, 58);
/* oklch */ color: oklch(79.9% 0.154 109.4);
Tailwind
colors: {
  custom: {
    50: '#dad679',
    500: '#c5c53a',
    950: '#000000',
  },
}
SCSS
$custom: #c5c53a;
$custom-light: #dad679;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c53a",
  "rgb": {
    "r": 197,
    "g": 197,
    "b": 58
  },
  "hsl": {
    "h": 60,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.79912,
    "c": 0.1545,
    "h": 109.4
  },
  "luminance": 0.52108
}

Semantic roles & 50–950 ramp

primary
#C5C53A
secondary
#323271
accent
#4ADE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C53A

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

Preview Lab → · Contrast checker → · Palette generator →

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