#C5C339#C5C339

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

Color values

HEX#C5C339
RGBrgb(197, 195, 57)
HSLhsl(59, 55%, 50%)
HSVhsv(59, 71%, 77%)
CMYKcmyk(0%, 1%, 71.1%, 22.7%)
CIE-LABlab(76.80, -15.32, 65.53)
CIE-LCHlch(76.80, 67.30, 103.16°)
OKLaboklab(79.47% -0.0488 0.1451)
OKLCHoklch(79.47% 0.153 108.6)
XYZxyz(43.2812, 51.1973, 11.4723)
Luminance0.5120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C339 #393BC5
analogous
#C57D39 #C5C339 #81C539
triadic
#C5C339 #39C5C3 #C339C5
tetradic
#C5C339 #39C57D #393BC5 #C53981
square
#C5C339 #39C57D #393BC5 #C53981
split-complementary
#C5C339 #3981C5 #7D39C5
monochromatic
#66651E #96942B #C5C339 #D3D268 #E1E097

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C339#FFFFFF#000000##000000
##C5C3391.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)
#D3BB20
Deuteranopia (green-blind)
#D5C043
Tritanopia (blue-blind)
#D3B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c339;
/* rgb */ color: rgb(197, 195, 57);
/* oklch */ color: oklch(79.5% 0.153 108.6);
Tailwind
colors: {
  custom: {
    50: '#dad479',
    500: '#c5c339',
    950: '#000000',
  },
}
SCSS
$custom: #c5c339;
$custom-light: #dad479;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c339",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 59.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79472,
    "c": 0.15313,
    "h": 108.6
  },
  "luminance": 0.51196
}

Semantic roles & 50–950 ramp

primary
#C5C339
secondary
#323370
accent
#4BDE49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C339

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

Preview Lab → · Contrast checker → · Palette generator →

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