#C5C526#C5C526

#C5C526 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.8% C 0.165 H 109.6°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#C5C526
RGBrgb(197, 197, 38)
HSLhsl(60, 68%, 46%)
HSVhsv(60, 81%, 77%)
CMYKcmyk(0%, 0%, 80.7%, 22.7%)
CIE-LABlab(77.25, -17.07, 71.83)
CIE-LCHlch(77.25, 73.83, 103.37°)
OKLaboklab(79.8% -0.0553 0.1552)
OKLCHoklch(79.8% 0.165 109.6)
XYZxyz(43.3438, 51.9441, 9.5764)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C526 #2626C5
analogous
#C57526 #C5C526 #75C526
triadic
#C5C526 #26C5C5 #C526C5
tetradic
#C5C526 #26C575 #2626C5 #C52675
square
#C5C526 #26C575 #2626C5 #C52675
split-complementary
#C5C526 #2675C5 #7526C5
monochromatic
#5E5E12 #92921C #C5C526 #DCDC4C #E6E67F

Accessibility & contrast

On white

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

On black

11.39
#C5C526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C526
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C526#FFFFFF#000000##000000
##C5C5261.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5c526;
/* rgb */ color: rgb(197, 197, 38);
/* oklch */ color: oklch(79.8% 0.165 109.6);
Tailwind
colors: {
  custom: {
    50: '#dbd670',
    500: '#c5c526',
    950: '#000000',
  },
}
SCSS
$custom: #c5c526;
$custom-light: #dbd670;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c526",
  "rgb": {
    "r": 197,
    "g": 197,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.79801,
    "c": 0.16471,
    "h": 109.6
  },
  "luminance": 0.51943
}

Semantic roles & 50–950 ramp

primary
#C5C526
secondary
#26266A
accent
#3DEB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5C526

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

Preview Lab → · Contrast checker → · Palette generator →

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