#C5A335#C5A335

#C5A335 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.7% C 0.130 H 91.2°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#C5A335
RGBrgb(197, 163, 53)
HSLhsl(46, 58%, 49%)
HSVhsv(46, 73%, 77%)
CMYKcmyk(0%, 17.3%, 73.1%, 22.7%)
CIE-LABlab(68.26, 1.13, 58.71)
CIE-LCHlch(68.26, 58.72, 88.89°)
OKLaboklab(72.69% -0.0026 0.13)
OKLCHoklch(72.69% 0.13 91.2)
XYZxyz(36.7678, 38.3240, 8.8281)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A335 #3557C5
analogous
#C55B35 #C5A335 #9FC535
triadic
#C5A335 #35C5A3 #A335C5
tetradic
#C5A335 #35C55B #3557C5 #C5359F
square
#C5A335 #35C55B #3557C5 #C5359F
split-complementary
#C5A335 #359FC5 #5B35C5
monochromatic
#65531B #957B28 #C5A335 #D5BA62 #E2CF93

Accessibility & contrast

On white

2.42
#C5A335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#C5A335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A335
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A335#FFFFFF#000000##000000
##C5A3351.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A124
Deuteranopia (green-blind)
#BEAA3B
Tritanopia (blue-blind)
#D5958D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a335;
/* rgb */ color: rgb(197, 163, 53);
/* oklch */ color: oklch(72.7% 0.130 91.2);
Tailwind
colors: {
  custom: {
    50: '#dbbd73',
    500: '#c5a335',
    950: '#000000',
  },
}
SCSS
$custom: #c5a335;
$custom-light: #dbbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a335",
  "rgb": {
    "r": 197,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 45.833,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72686,
    "c": 0.12999,
    "h": 91.2
  },
  "luminance": 0.38322
}

Semantic roles & 50–950 ramp

primary
#C5A335
secondary
#8999CD
accent
#6BE147
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151208
muted
#84817B

Preview Lab

Preview with #C5A335

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

Preview Lab → · Contrast checker → · Palette generator →

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