#C5C337#C5C337

#C5C337 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.5% C 0.154 H 108.6°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#C5C337
RGBrgb(197, 195, 55)
HSLhsl(59, 56%, 49%)
HSVhsv(59, 72%, 77%)
CMYKcmyk(0%, 1%, 72.1%, 22.7%)
CIE-LABlab(76.79, -15.42, 66.23)
CIE-LCHlch(76.79, 68.00, 103.10°)
OKLaboklab(79.46% -0.0493 0.1463)
OKLCHoklch(79.46% 0.154 108.6)
XYZxyz(43.2323, 51.1777, 11.2147)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C337 #3739C5
analogous
#C57C37 #C5C337 #80C537
triadic
#C5C337 #37C5C3 #C337C5
tetradic
#C5C337 #37C57C #3739C5 #C53780
square
#C5C337 #37C57C #3739C5 #C53780
split-complementary
#C5C337 #3780C5 #7C37C5
monochromatic
#65641C #95942A #C5C337 #D4D265 #E1E095

Accessibility & contrast

On white

1.87
#C5C337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#C5C337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C337
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C337#FFFFFF#000000##000000
##C5C3371.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1C
Deuteranopia (green-blind)
#D5C042
Tritanopia (blue-blind)
#D3B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c337;
/* rgb */ color: rgb(197, 195, 55);
/* oklch */ color: oklch(79.5% 0.154 108.6);
Tailwind
colors: {
  custom: {
    50: '#dad478',
    500: '#c5c337',
    950: '#000000',
  },
}
SCSS
$custom: #c5c337;
$custom-light: #dad478;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c337",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 55
  },
  "hsl": {
    "h": 59.155,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79459,
    "c": 0.15433,
    "h": 108.6
  },
  "luminance": 0.51176
}

Semantic roles & 50–950 ramp

primary
#C5C337
secondary
#313170
accent
#4AE048
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C337

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

Preview Lab → · Contrast checker → · Palette generator →

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