#C5C429#C5C429

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

Color values

HEX#C5C429
RGBrgb(197, 196, 41)
HSLhsl(60, 66%, 47%)
HSVhsv(60, 79%, 77%)
CMYKcmyk(0%, 0.5%, 79.2%, 22.7%)
CIE-LABlab(76.99, -16.47, 70.80)
CIE-LCHlch(76.99, 72.69, 103.10°)
OKLaboklab(79.6% -0.0534 0.1535)
OKLCHoklch(79.6% 0.162 109.2)
XYZxyz(43.1678, 51.5116, 9.7662)
Luminance0.5151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C429 #292AC5
analogous
#C57629 #C5C429 #78C529
triadic
#C5C429 #29C5C4 #C429C5
tetradic
#C5C429 #29C576 #292AC5 #C52978
square
#C5C429 #29C576 #292AC5 #C52978
split-complementary
#C5C429 #2978C5 #7629C5
monochromatic
#605F14 #92921E #C5C429 #DBDA51 #E5E583

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C429#FFFFFF#000000##000000
##C5C4291.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)
#D4BC00
Deuteranopia (green-blind)
#D6C037
Tritanopia (blue-blind)
#D3B7A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c429;
/* rgb */ color: rgb(197, 196, 41);
/* oklch */ color: oklch(79.6% 0.162 109.2);
Tailwind
colors: {
  custom: {
    50: '#dbd571',
    500: '#c5c429',
    950: '#000000',
  },
}
SCSS
$custom: #c5c429;
$custom-light: #dbd571;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c429",
  "rgb": {
    "r": 197,
    "g": 196,
    "b": 41
  },
  "hsl": {
    "h": 59.615,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.79598,
    "c": 0.16249,
    "h": 109.2
  },
  "luminance": 0.5151
}

Semantic roles & 50–950 ramp

primary
#C5C429
secondary
#28286B
accent
#40E83F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C429

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

Preview Lab → · Contrast checker → · Palette generator →

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