#C5C332#C5C332

#C5C332 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.4% C 0.157 H 108.7°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#C5C332
RGBrgb(197, 195, 50)
HSLhsl(59, 60%, 48%)
HSVhsv(59, 75%, 77%)
CMYKcmyk(0%, 1%, 74.6%, 22.7%)
CIE-LABlab(76.76, -15.63, 67.88)
CIE-LCHlch(76.76, 69.66, 102.97°)
OKLaboklab(79.43% -0.0503 0.1489)
OKLCHoklch(79.43% 0.157 108.7)
XYZxyz(43.1184, 51.1322, 10.6152)
Luminance0.5113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C332 #3234C5
analogous
#C57932 #C5C332 #7DC532
triadic
#C5C332 #32C5C3 #C332C5
tetradic
#C5C332 #32C579 #3234C5 #C5327D
square
#C5C332 #32C579 #3234C5 #C5327D
split-complementary
#C5C332 #327DC5 #7932C5
monochromatic
#636219 #949326 #C5C332 #D6D55E #E3E18F

Accessibility & contrast

On white

1.87
#C5C332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#C5C332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C332
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C332#FFFFFF#000000##000000
##C5C3321.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB10
Deuteranopia (green-blind)
#D5C03E
Tritanopia (blue-blind)
#D3B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c332;
/* rgb */ color: rgb(197, 195, 50);
/* oklch */ color: oklch(79.4% 0.157 108.7);
Tailwind
colors: {
  custom: {
    50: '#dad475',
    500: '#c5c332',
    950: '#000000',
  },
}
SCSS
$custom: #c5c332;
$custom-light: #dad475;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c332",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 50
  },
  "hsl": {
    "h": 59.184,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79428,
    "c": 0.15714,
    "h": 108.7
  },
  "luminance": 0.51131
}

Semantic roles & 50–950 ramp

primary
#C5C332
secondary
#2D2E6E
accent
#47E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C332

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

Preview Lab → · Contrast checker → · Palette generator →

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