#C5C434#C5C434

#C5C434 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.7% C 0.157 H 109.1°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#C5C434
RGBrgb(197, 196, 52)
HSLhsl(60, 58%, 49%)
HSVhsv(60, 74%, 77%)
CMYKcmyk(0%, 0.5%, 73.6%, 22.7%)
CIE-LABlab(77.04, -16.05, 67.49)
CIE-LCHlch(77.04, 69.37, 103.38°)
OKLaboklab(79.66% -0.0513 0.1484)
OKLCHoklch(79.66% 0.157 109.1)
XYZxyz(43.3873, 51.5995, 10.9223)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C434 #3435C5
analogous
#C57C34 #C5C434 #7EC534
triadic
#C5C434 #34C5C4 #C434C5
tetradic
#C5C434 #34C57C #3435C5 #C5347E
square
#C5C434 #34C57C #3435C5 #C5347E
split-complementary
#C5C434 #347EC5 #7C34C5
monochromatic
#64641A #959427 #C5C434 #D5D461 #E2E191

Accessibility & contrast

On white

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

On black

11.32
#C5C434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C434
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C434#FFFFFF#000000##000000
##C5C4341.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC15
Deuteranopia (green-blind)
#D6C03F
Tritanopia (blue-blind)
#D3B7A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c434;
/* rgb */ color: rgb(197, 196, 52);
/* oklch */ color: oklch(79.7% 0.157 109.1);
Tailwind
colors: {
  custom: {
    50: '#dad576',
    500: '#c5c434',
    950: '#000000',
  },
}
SCSS
$custom: #c5c434;
$custom-light: #dad576;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c434",
  "rgb": {
    "r": 197,
    "g": 196,
    "b": 52
  },
  "hsl": {
    "h": 59.586,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79657,
    "c": 0.15702,
    "h": 109.1
  },
  "luminance": 0.51598
}

Semantic roles & 50–950 ramp

primary
#C5C434
secondary
#2F2F6F
accent
#47E146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C434

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

Preview Lab → · Contrast checker → · Palette generator →

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