#C5C538#C5C538

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

Color values

HEX#C5C538
RGBrgb(197, 197, 56)
HSLhsl(60, 56%, 50%)
HSVhsv(60, 72%, 77%)
CMYKcmyk(0%, 0%, 71.6%, 22.7%)
CIE-LABlab(77.33, -16.37, 66.40)
CIE-LCHlch(77.33, 68.39, 103.85°)
OKLaboklab(79.9% -0.0519 0.1468)
OKLCHoklch(79.9% 0.156 109.5)
XYZxyz(43.7076, 52.0896, 11.4926)
Luminance0.5209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C538 #3838C5
analogous
#C57F38 #C5C538 #7FC538
triadic
#C5C538 #38C5C5 #C538C5
tetradic
#C5C538 #38C57F #3838C5 #C5387F
square
#C5C538 #38C57F #3838C5 #C5387F
split-complementary
#C5C538 #387FC5 #7F38C5
monochromatic
#66661D #95952A #C5C538 #D4D467 #E1E196

Accessibility & contrast

On white

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

On black

11.42
#C5C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C538
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C538#FFFFFF#000000##000000
##C5C5381.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1D
Deuteranopia (green-blind)
#D7C143
Tritanopia (blue-blind)
#D3B8AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c5c538;
/* rgb */ color: rgb(197, 197, 56);
/* oklch */ color: oklch(79.9% 0.156 109.5);
Tailwind
colors: {
  custom: {
    50: '#dad678',
    500: '#c5c538',
    950: '#000000',
  },
}
SCSS
$custom: #c5c538;
$custom-light: #dad678;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c538",
  "rgb": {
    "r": 197,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79898,
    "c": 0.15569,
    "h": 109.5
  },
  "luminance": 0.52088
}

Semantic roles & 50–950 ramp

primary
#C5C538
secondary
#313170
accent
#49DF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C538

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

Preview Lab → · Contrast checker → · Palette generator →

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