#C5A237#C5A237

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

Color values

HEX#C5A237
RGBrgb(197, 162, 55)
HSLhsl(45, 56%, 49%)
HSVhsv(45, 72%, 77%)
CMYKcmyk(0%, 17.8%, 72.1%, 22.7%)
CIE-LABlab(68.01, 1.76, 57.67)
CIE-LCHlch(68.01, 57.70, 88.25°)
OKLaboklab(72.5% -0.0006 0.1281)
OKLCHoklch(72.5% 0.128 90.3)
XYZxyz(36.6379, 37.9891, 9.0166)
Luminance0.3799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A237 #375AC5
analogous
#C55B37 #C5A237 #A1C537
triadic
#C5A237 #37C5A2 #A237C5
tetradic
#C5A237 #37C55B #375AC5 #C537A1
square
#C5A237 #37C55B #375AC5 #C537A1
split-complementary
#C5A237 #37A1C5 #5B37C5
monochromatic
#65531C #957B2A #C5A237 #D4B965 #E1CF95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5A237#FFFFFF#000000##000000
##C5A2371.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)
#B4A027
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#D5948C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a237;
/* rgb */ color: rgb(197, 162, 55);
/* oklch */ color: oklch(72.5% 0.128 90.3);
Tailwind
colors: {
  custom: {
    50: '#dbbd74',
    500: '#c5a237',
    950: '#000000',
  },
}
SCSS
$custom: #c5a237;
$custom-light: #dbbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a237",
  "rgb": {
    "r": 197,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 45.211,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72496,
    "c": 0.12815,
    "h": 90.3
  },
  "luminance": 0.37987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5A237

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

Preview Lab → · Contrast checker → · Palette generator →

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