#C5C327#C5C327

#C5C327 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.4% C 0.162 H 108.8°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#C5C327
RGBrgb(197, 195, 39)
HSLhsl(59, 67%, 46%)
HSVhsv(59, 80%, 77%)
CMYKcmyk(0%, 1%, 80.2%, 22.7%)
CIE-LABlab(76.71, -16.04, 71.10)
CIE-LCHlch(76.71, 72.89, 102.71°)
OKLaboklab(79.37% -0.0524 0.1538)
OKLCHoklch(79.37% 0.162 108.8)
XYZxyz(42.9090, 51.0484, 9.5121)
Luminance0.5105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C327 #2729C5
analogous
#C57427 #C5C327 #78C527
triadic
#C5C327 #27C5C3 #C327C5
tetradic
#C5C327 #27C574 #2729C5 #C52778
square
#C5C327 #27C574 #2729C5 #C52778
split-complementary
#C5C327 #2778C5 #7427C5
monochromatic
#5F5E13 #92901D #C5C327 #DCDA4D #E6E580

Accessibility & contrast

On white

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

On black

11.21
#C5C327 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C327
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C327#FFFFFF#000000##000000
##C5C3271.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D6C036
Tritanopia (blue-blind)
#D4B6A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c327;
/* rgb */ color: rgb(197, 195, 39);
/* oklch */ color: oklch(79.4% 0.162 108.8);
Tailwind
colors: {
  custom: {
    50: '#dbd470',
    500: '#c5c327',
    950: '#000000',
  },
}
SCSS
$custom: #c5c327;
$custom-light: #dbd470;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c327",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 39
  },
  "hsl": {
    "h": 59.241,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.79372,
    "c": 0.16242,
    "h": 108.8
  },
  "luminance": 0.51047
}

Semantic roles & 50–950 ramp

primary
#C5C327
secondary
#26276A
accent
#40EA3E
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5C327

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

Preview Lab → · Contrast checker → · Palette generator →

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