#C5C534#C5C534

#C5C534 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.9% C 0.158 H 109.5°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#C5C534
RGBrgb(197, 197, 52)
HSLhsl(60, 58%, 49%)
HSVhsv(60, 74%, 77%)
CMYKcmyk(0%, 0%, 73.6%, 22.7%)
CIE-LABlab(77.31, -16.55, 67.74)
CIE-LCHlch(77.31, 69.73, 103.73°)
OKLaboklab(79.87% -0.0527 0.1489)
OKLCHoklch(79.87% 0.158 109.5)
XYZxyz(43.6136, 52.0521, 10.9978)
Luminance0.5205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C534 #3434C5
analogous
#C57D34 #C5C534 #7DC534
triadic
#C5C534 #34C5C5 #C534C5
tetradic
#C5C534 #34C57D #3434C5 #C5347D
square
#C5C534 #34C57D #3434C5 #C5347D
split-complementary
#C5C534 #347DC5 #7D34C5
monochromatic
#64641A #959527 #C5C534 #D5D561 #E2E291

Accessibility & contrast

On white

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

On black

11.41
#C5C534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C534
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C534#FFFFFF#000000##000000
##C5C5341.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5c534;
/* rgb */ color: rgb(197, 197, 52);
/* oklch */ color: oklch(79.9% 0.158 109.5);
Tailwind
colors: {
  custom: {
    50: '#dad676',
    500: '#c5c534',
    950: '#000000',
  },
}
SCSS
$custom: #c5c534;
$custom-light: #dad676;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c534",
  "rgb": {
    "r": 197,
    "g": 197,
    "b": 52
  },
  "hsl": {
    "h": 60,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79873,
    "c": 0.15799,
    "h": 109.5
  },
  "luminance": 0.52051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5C534

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

Preview Lab → · Contrast checker → · Palette generator →

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