#C5C732#C5C732

#C5C732 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.3% C 0.161 H 110.3°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#C5C732
RGBrgb(197, 199, 50)
HSLhsl(61, 60%, 49%)
HSVhsv(61, 75%, 78%)
CMYKcmyk(1%, 0%, 74.9%, 22%)
CIE-LABlab(77.84, -17.64, 68.89)
CIE-LCHlch(77.84, 71.11, 104.36°)
OKLaboklab(80.3% -0.0559 0.151)
OKLCHoklch(80.3% 0.161 110.3)
XYZxyz(44.0267, 52.9487, 10.9179)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C732 #3432C7
analogous
#C77F32 #C5C732 #7BC732
triadic
#C5C732 #32C5C7 #C732C5
tetradic
#C5C732 #32C77F #3432C7 #C7327B
square
#C5C732 #32C77F #3432C7 #C7327B
split-complementary
#C5C732 #327BC7 #7F32C7
monochromatic
#646519 #959626 #C5C732 #D5D75F #E2E390

Accessibility & contrast

On white

1.81
#C5C732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#C5C732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C732
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C732#FFFFFF#000000##000000
##C5C7321.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE0D
Deuteranopia (green-blind)
#D8C23E
Tritanopia (blue-blind)
#D3BAAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c5c732;
/* rgb */ color: rgb(197, 199, 50);
/* oklch */ color: oklch(80.3% 0.161 110.3);
Tailwind
colors: {
  custom: {
    50: '#dad776',
    500: '#c5c732',
    950: '#000000',
  },
}
SCSS
$custom: #c5c732;
$custom-light: #dad776;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c732",
  "rgb": {
    "r": 197,
    "g": 199,
    "b": 50
  },
  "hsl": {
    "h": 60.805,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80296,
    "c": 0.16103,
    "h": 110.3
  },
  "luminance": 0.52947
}

Semantic roles & 50–950 ramp

primary
#C5C732
secondary
#2F2E70
accent
#45E347
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C732

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

Preview Lab → · Contrast checker → · Palette generator →

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