#C5C334#C5C334

#C5C334 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.4% C 0.156 H 108.7°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#C5C334
RGBrgb(197, 195, 52)
HSLhsl(59, 58%, 49%)
HSVhsv(59, 74%, 77%)
CMYKcmyk(0%, 1%, 73.6%, 22.7%)
CIE-LABlab(76.77, -15.55, 67.23)
CIE-LCHlch(76.77, 69.01, 103.02°)
OKLaboklab(79.44% -0.0499 0.1479)
OKLCHoklch(79.44% 0.156 108.7)
XYZxyz(43.1625, 51.1498, 10.8474)
Luminance0.5115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C334 #3436C5
analogous
#C57B34 #C5C334 #7FC534
triadic
#C5C334 #34C5C3 #C334C5
tetradic
#C5C334 #34C57B #3436C5 #C5347F
square
#C5C334 #34C57B #3436C5 #C5347F
split-complementary
#C5C334 #347FC5 #7B34C5
monochromatic
#64631A #959327 #C5C334 #D5D461 #E2E191

Accessibility & contrast

On white

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

On black

11.23
#C5C334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C334
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C334#FFFFFF#000000##000000
##C5C3341.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5c334;
/* rgb */ color: rgb(197, 195, 52);
/* oklch */ color: oklch(79.4% 0.156 108.7);
Tailwind
colors: {
  custom: {
    50: '#dad476',
    500: '#c5c334',
    950: '#000000',
  },
}
SCSS
$custom: #c5c334;
$custom-light: #dad476;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c334",
  "rgb": {
    "r": 197,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 59.172,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7944,
    "c": 0.15606,
    "h": 108.7
  },
  "luminance": 0.51148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5C334

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

Preview Lab → · Contrast checker → · Palette generator →

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