#C5C326#C5C326

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

Color values

HEX#C5C326
RGBrgb(197, 195, 38)
HSLhsl(59, 68%, 46%)
HSVhsv(59, 81%, 77%)
CMYKcmyk(0%, 1%, 80.7%, 22.7%)
CIE-LABlab(76.70, -16.07, 71.36)
CIE-LCHlch(76.70, 73.15, 102.69°)
OKLaboklab(79.37% -0.0525 0.1541)
OKLCHoklch(79.37% 0.163 108.8)
XYZxyz(42.8926, 51.0419, 9.4260)
Luminance0.5104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C326 #2628C5
analogous
#C57326 #C5C326 #77C526
triadic
#C5C326 #26C5C3 #C326C5
tetradic
#C5C326 #26C573 #2628C5 #C52677
square
#C5C326 #26C573 #2628C5 #C52677
split-complementary
#C5C326 #2677C5 #7326C5
monochromatic
#5E5D12 #92901C #C5C326 #DCDB4C #E6E57F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C326#FFFFFF#000000##000000
##C5C3261.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)
#D6C035
Tritanopia (blue-blind)
#D4B6A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c326;
/* rgb */ color: rgb(197, 195, 38);
/* oklch */ color: oklch(79.4% 0.163 108.8);
Tailwind
colors: {
  custom: {
    50: '#dbd470',
    500: '#c5c326',
    950: '#000000',
  },
}
SCSS
$custom: #c5c326;
$custom-light: #dbd470;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c326",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 38
  },
  "hsl": {
    "h": 59.245,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.79367,
    "c": 0.16284,
    "h": 108.8
  },
  "luminance": 0.5104
}

Semantic roles & 50–950 ramp

primary
#C5C326
secondary
#26276A
accent
#3FEB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5C326

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

Preview Lab → · Contrast checker → · Palette generator →

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