#C5A135#C5A135

#C5A135 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.3% C 0.129 H 89.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#C5A135
RGBrgb(197, 161, 53)
HSLhsl(45, 58%, 49%)
HSVhsv(45, 73%, 77%)
CMYKcmyk(0%, 18.3%, 73.1%, 22.7%)
CIE-LABlab(67.74, 2.21, 58.20)
CIE-LCHlch(67.74, 58.24, 87.83°)
OKLaboklab(72.28% 0.0004 0.1289)
OKLCHoklch(72.28% 0.129 89.8)
XYZxyz(36.4155, 37.6194, 8.7107)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A135 #3559C5
analogous
#C55935 #C5A135 #A1C535
triadic
#C5A135 #35C5A1 #A135C5
tetradic
#C5A135 #35C559 #3559C5 #C535A1
square
#C5A135 #35C559 #3559C5 #C535A1
split-complementary
#C5A135 #35A1C5 #5935C5
monochromatic
#65521B #957A28 #C5A135 #D5B862 #E2CE93

Accessibility & contrast

On white

2.46
#C5A135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#C5A135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A135
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A135#FFFFFF#000000##000000
##C5A1351.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F25
Deuteranopia (green-blind)
#BCA93B
Tritanopia (blue-blind)
#D5938B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c5a135;
/* rgb */ color: rgb(197, 161, 53);
/* oklch */ color: oklch(72.3% 0.129 89.8);
Tailwind
colors: {
  custom: {
    50: '#dbbc73',
    500: '#c5a135',
    950: '#000000',
  },
}
SCSS
$custom: #c5a135;
$custom-light: #dbbc73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a135",
  "rgb": {
    "r": 197,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 45,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72276,
    "c": 0.12888,
    "h": 89.8
  },
  "luminance": 0.37617
}

Semantic roles & 50–950 ramp

primary
#C5A135
secondary
#899ACD
accent
#6DE147
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161108
muted
#84807B

Preview Lab

Preview with #C5A135

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

Preview Lab → · Contrast checker → · Palette generator →

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