#C5C425#C5C425

#C5C425 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#C5C425
RGBrgb(197, 196, 37)
HSLhsl(60, 68%, 46%)
HSVhsv(60, 81%, 77%)
CMYKcmyk(0%, 0.5%, 81.2%, 22.7%)
CIE-LABlab(76.97, -16.60, 71.85)
CIE-LCHlch(76.97, 73.74, 103.01°)
OKLaboklab(79.58% -0.0541 0.155)
OKLCHoklch(79.58% 0.164 109.2)
XYZxyz(43.1015, 51.4851, 9.4171)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C425 #2526C5
analogous
#C57425 #C5C425 #76C525
triadic
#C5C425 #25C5C4 #C425C5
tetradic
#C5C425 #25C574 #2526C5 #C52576
square
#C5C425 #25C574 #2526C5 #C52576
split-complementary
#C5C425 #2576C5 #7425C5
monochromatic
#5E5D12 #91911B #C5C425 #DDDC4A #E7E67E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C425#FFFFFF#000000##000000
##C5C4251.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: #c5c425;
/* rgb */ color: rgb(197, 196, 37);
/* oklch */ color: oklch(79.6% 0.164 109.2);
Tailwind
colors: {
  custom: {
    50: '#dbd570',
    500: '#c5c425',
    950: '#000000',
  },
}
SCSS
$custom: #c5c425;
$custom-light: #dbd570;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c425",
  "rgb": {
    "r": 197,
    "g": 196,
    "b": 37
  },
  "hsl": {
    "h": 59.625,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7958,
    "c": 0.16418,
    "h": 109.2
  },
  "luminance": 0.51484
}

Semantic roles & 50–950 ramp

primary
#C5C425
secondary
#252569
accent
#3EEB3D
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161408
muted
#84837D

Preview Lab

Preview with #C5C425

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

Preview Lab → · Contrast checker → · Palette generator →

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