#C5C537#C5C537

#C5C537 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#C5C537
RGBrgb(197, 197, 55)
HSLhsl(60, 56%, 49%)
HSVhsv(60, 72%, 77%)
CMYKcmyk(0%, 0%, 72.1%, 22.7%)
CIE-LABlab(77.33, -16.42, 66.74)
CIE-LCHlch(77.33, 68.73, 103.82°)
OKLaboklab(79.89% -0.0521 0.1474)
OKLCHoklch(79.89% 0.156 109.5)
XYZxyz(43.6834, 52.0800, 11.3650)
Luminance0.5208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C537 #3737C5
analogous
#C57E37 #C5C537 #7EC537
triadic
#C5C537 #37C5C5 #C537C5
tetradic
#C5C537 #37C57E #3737C5 #C5377E
square
#C5C537 #37C57E #3737C5 #C5377E
split-complementary
#C5C537 #377EC5 #7E37C5
monochromatic
#65651C #95952A #C5C537 #D4D465 #E1E195

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C537#FFFFFF#000000##000000
##C5C5371.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)
#D5BD1B
Deuteranopia (green-blind)
#D7C142
Tritanopia (blue-blind)
#D3B8AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #c5c537;
/* rgb */ color: rgb(197, 197, 55);
/* oklch */ color: oklch(79.9% 0.156 109.5);
Tailwind
colors: {
  custom: {
    50: '#dad678',
    500: '#c5c537',
    950: '#000000',
  },
}
SCSS
$custom: #c5c537;
$custom-light: #dad678;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c537",
  "rgb": {
    "r": 197,
    "g": 197,
    "b": 55
  },
  "hsl": {
    "h": 60,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79892,
    "c": 0.15629,
    "h": 109.5
  },
  "luminance": 0.52079
}

Semantic roles & 50–950 ramp

primary
#C5C537
secondary
#313170
accent
#48E048
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C537

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

Preview Lab → · Contrast checker → · Palette generator →

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