#C5A23D#C5A23D

#C5A23D is a light, vivid orange. Relative luminance 0.380; OKLCH L 72.5% C 0.124 H 89.5°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#C5A23D
RGBrgb(197, 162, 61)
HSLhsl(45, 54%, 51%)
HSVhsv(45, 69%, 77%)
CMYKcmyk(0%, 17.8%, 69%, 22.7%)
CIE-LABlab(68.06, 2.08, 55.23)
CIE-LCHlch(68.06, 55.27, 87.85°)
OKLaboklab(72.55% 0.001 0.1241)
OKLCHoklch(72.55% 0.124 89.5)
XYZxyz(36.7906, 38.0501, 9.8206)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A23D #3D60C5
analogous
#C55E3D #C5A23D #A4C53D
triadic
#C5A23D #3DC5A2 #A23DC5
tetradic
#C5A23D #3DC55E #3D60C5 #C53DA4
square
#C5A23D #3DC55E #3D60C5 #C53DA4
split-complementary
#C5A23D #3DA4C5 #5E3DC5
monochromatic
#68561F #987C2D #C5A23D #D3B96C #E1CF9B

Accessibility & contrast

On white

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

On black

8.61
#C5A23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A23D
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A23D#FFFFFF#000000##000000
##C5A23D1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5a23d;
/* rgb */ color: rgb(197, 162, 61);
/* oklch */ color: oklch(72.5% 0.124 89.5);
Tailwind
colors: {
  custom: {
    50: '#dabd78',
    500: '#c5a23d',
    950: '#000000',
  },
}
SCSS
$custom: #c5a23d;
$custom-light: #dabd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a23d",
  "rgb": {
    "r": 197,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 44.559,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72546,
    "c": 0.12407,
    "h": 89.5
  },
  "luminance": 0.38048
}

Semantic roles & 50–950 ramp

primary
#C5A23D
secondary
#91A0CD
accent
#70DD4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A23D

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

Preview Lab → · Contrast checker → · Palette generator →

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