#C5A236#C5A236

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

Color values

HEX#C5A236
RGBrgb(197, 162, 54)
HSLhsl(45, 57%, 49%)
HSVhsv(45, 73%, 77%)
CMYKcmyk(0%, 17.8%, 72.6%, 22.7%)
CIE-LABlab(68.01, 1.72, 58.07)
CIE-LCHlch(68.01, 58.09, 88.31°)
OKLaboklab(72.49% -0.0008 0.1288)
OKLCHoklch(72.49% 0.129 90.4)
XYZxyz(36.6142, 37.9796, 8.8916)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A236 #3659C5
analogous
#C55B36 #C5A236 #A1C536
triadic
#C5A236 #36C5A2 #A236C5
tetradic
#C5A236 #36C55B #3659C5 #C536A1
square
#C5A236 #36C55B #3659C5 #C536A1
split-complementary
#C5A236 #36A1C5 #5B36C5
monochromatic
#65531C #957B29 #C5A236 #D4B964 #E2CF94

Accessibility & contrast

On white

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

On black

8.60
#C5A236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A236
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A236#FFFFFF#000000##000000
##C5A2361.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5a236;
/* rgb */ color: rgb(197, 162, 54);
/* oklch */ color: oklch(72.5% 0.129 90.4);
Tailwind
colors: {
  custom: {
    50: '#dbbd74',
    500: '#c5a236',
    950: '#000000',
  },
}
SCSS
$custom: #c5a236;
$custom-light: #dbbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a236",
  "rgb": {
    "r": 197,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 45.315,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72488,
    "c": 0.12879,
    "h": 90.4
  },
  "luminance": 0.37977
}

Semantic roles & 50–950 ramp

primary
#C5A236
secondary
#8A9ACD
accent
#6DE048
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151209
muted
#84817B

Preview Lab

Preview with #C5A236

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

Preview Lab → · Contrast checker → · Palette generator →

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