#C5C426#C5C426

#C5C426 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.6% C 0.164 H 109.2°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#C5C426
RGBrgb(197, 196, 38)
HSLhsl(60, 68%, 46%)
HSVhsv(60, 81%, 77%)
CMYKcmyk(0%, 0.5%, 80.7%, 22.7%)
CIE-LABlab(76.98, -16.57, 71.59)
CIE-LCHlch(76.98, 73.49, 103.03°)
OKLaboklab(79.58% -0.0539 0.1546)
OKLCHoklch(79.58% 0.164 109.2)
XYZxyz(43.1174, 51.4915, 9.5009)
Luminance0.5149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C426 #2627C5
analogous
#C57426 #C5C426 #76C526
triadic
#C5C426 #26C5C4 #C426C5
tetradic
#C5C426 #26C574 #2627C5 #C52676
square
#C5C426 #26C574 #2627C5 #C52676
split-complementary
#C5C426 #2676C5 #7426C5
monochromatic
#5E5E12 #92911C #C5C426 #DCDC4C #E6E67F

Accessibility & contrast

On white

1.86
#C5C426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#C5C426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C426
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C426#FFFFFF#000000##000000
##C5C4261.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BB00
Deuteranopia (green-blind)
#D6C035
Tritanopia (blue-blind)
#D4B7A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c426;
/* rgb */ color: rgb(197, 196, 38);
/* oklch */ color: oklch(79.6% 0.164 109.2);
Tailwind
colors: {
  custom: {
    50: '#dbd570',
    500: '#c5c426',
    950: '#000000',
  },
}
SCSS
$custom: #c5c426;
$custom-light: #dbd570;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c426",
  "rgb": {
    "r": 197,
    "g": 196,
    "b": 38
  },
  "hsl": {
    "h": 59.623,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.79584,
    "c": 0.16377,
    "h": 109.2
  },
  "luminance": 0.5149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5C426

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

Preview Lab → · Contrast checker → · Palette generator →

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