#C5C43A#C5C43A

#C5C43A is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.7% C 0.153 H 109.0°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#C5C43A
RGBrgb(197, 196, 58)
HSLhsl(60, 55%, 50%)
HSVhsv(60, 71%, 77%)
CMYKcmyk(0%, 0.5%, 70.6%, 22.7%)
CIE-LABlab(77.08, -15.78, 65.45)
CIE-LCHlch(77.08, 67.32, 103.55°)
OKLaboklab(79.7% -0.05 0.1451)
OKLCHoklch(79.7% 0.154 109)
XYZxyz(43.5312, 51.6570, 11.6799)
Luminance0.5166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C43A #3A3BC5
analogous
#C57E3A #C5C43A #81C53A
triadic
#C5C43A #3AC5C4 #C43AC5
tetradic
#C5C43A #3AC57E #3A3BC5 #C53A81
square
#C5C43A #3AC57E #3A3BC5 #C53A81
split-complementary
#C5C43A #3A81C5 #7E3AC5
monochromatic
#66661E #96952C #C5C43A #D3D269 #E1E099

Accessibility & contrast

On white

1.85
#C5C43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#C5C43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C43A
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C43A#FFFFFF#000000##000000
##C5C43A1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC22
Deuteranopia (green-blind)
#D6C044
Tritanopia (blue-blind)
#D3B7A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c43a;
/* rgb */ color: rgb(197, 196, 58);
/* oklch */ color: oklch(79.7% 0.153 109.0);
Tailwind
colors: {
  custom: {
    50: '#dad579',
    500: '#c5c43a',
    950: '#000000',
  },
}
SCSS
$custom: #c5c43a;
$custom-light: #dad579;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c43a",
  "rgb": {
    "r": 197,
    "g": 196,
    "b": 58
  },
  "hsl": {
    "h": 59.568,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.79695,
    "c": 0.1535,
    "h": 109
  },
  "luminance": 0.51656
}

Semantic roles & 50–950 ramp

primary
#C5C43A
secondary
#323371
accent
#4BDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C43A

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

Preview Lab → · Contrast checker → · Palette generator →

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