#C5A235#C5A235

#C5A235 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.5% C 0.129 H 90.5°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#C5A235
RGBrgb(197, 162, 53)
HSLhsl(45, 58%, 49%)
HSVhsv(45, 73%, 77%)
CMYKcmyk(0%, 17.8%, 73.1%, 22.7%)
CIE-LABlab(68.00, 1.67, 58.46)
CIE-LCHlch(68.00, 58.48, 88.36°)
OKLaboklab(72.48% -0.0011 0.1294)
OKLCHoklch(72.48% 0.129 90.5)
XYZxyz(36.5910, 37.9703, 8.7692)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A235 #3558C5
analogous
#C55A35 #C5A235 #A0C535
triadic
#C5A235 #35C5A2 #A235C5
tetradic
#C5A235 #35C55A #3558C5 #C535A0
square
#C5A235 #35C55A #3558C5 #C535A0
split-complementary
#C5A235 #35A0C5 #5A35C5
monochromatic
#65531B #957A28 #C5A235 #D5B962 #E2CF93

Accessibility & contrast

On white

2.44
#C5A235 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#C5A235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A235
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A235#FFFFFF#000000##000000
##C5A2351.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A024
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#D5948C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a235;
/* rgb */ color: rgb(197, 162, 53);
/* oklch */ color: oklch(72.5% 0.129 90.5);
Tailwind
colors: {
  custom: {
    50: '#dbbd73',
    500: '#c5a235',
    950: '#000000',
  },
}
SCSS
$custom: #c5a235;
$custom-light: #dbbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a235",
  "rgb": {
    "r": 197,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 45.417,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.72481,
    "c": 0.12942,
    "h": 90.5
  },
  "luminance": 0.37968
}

Semantic roles & 50–950 ramp

primary
#C5A235
secondary
#8999CD
accent
#6CE147
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5A235

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

Preview Lab → · Contrast checker → · Palette generator →

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