#C5C532#C5C532

#C5C532 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.9% C 0.159 H 109.5°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#C5C532
RGBrgb(197, 197, 50)
HSLhsl(60, 60%, 48%)
HSVhsv(60, 75%, 77%)
CMYKcmyk(0%, 0%, 74.6%, 22.7%)
CIE-LABlab(77.30, -16.64, 68.38)
CIE-LCHlch(77.30, 70.38, 103.67°)
OKLaboklab(79.86% -0.0531 0.1499)
OKLCHoklch(79.86% 0.159 109.5)
XYZxyz(43.5695, 52.0344, 10.7656)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C532 #3232C5
analogous
#C57B32 #C5C532 #7BC532
triadic
#C5C532 #32C5C5 #C532C5
tetradic
#C5C532 #32C57B #3232C5 #C5327B
square
#C5C532 #32C57B #3232C5 #C5327B
split-complementary
#C5C532 #327BC5 #7B32C5
monochromatic
#636319 #949426 #C5C532 #D6D65E #E3E38F

Accessibility & contrast

On white

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

On black

11.41
#C5C532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C532
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C532#FFFFFF#000000##000000
##C5C5321.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD0E
Deuteranopia (green-blind)
#D7C13E
Tritanopia (blue-blind)
#D3B8A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c5c532;
/* rgb */ color: rgb(197, 197, 50);
/* oklch */ color: oklch(79.9% 0.159 109.5);
Tailwind
colors: {
  custom: {
    50: '#dad675',
    500: '#c5c532',
    950: '#000000',
  },
}
SCSS
$custom: #c5c532;
$custom-light: #dad675;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c532",
  "rgb": {
    "r": 197,
    "g": 197,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79862,
    "c": 0.15907,
    "h": 109.5
  },
  "luminance": 0.52033
}

Semantic roles & 50–950 ramp

primary
#C5C532
secondary
#2D2D6E
accent
#45E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C532

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

Preview Lab → · Contrast checker → · Palette generator →

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