#C5A23C#C5A23C

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

Color values

HEX#C5A23C
RGBrgb(197, 162, 60)
HSLhsl(45, 54%, 50%)
HSVhsv(45, 70%, 77%)
CMYKcmyk(0%, 17.8%, 69.5%, 22.7%)
CIE-LABlab(68.05, 2.02, 55.65)
CIE-LCHlch(68.05, 55.69, 87.92°)
OKLaboklab(72.54% 0.0007 0.1248)
OKLCHoklch(72.54% 0.125 89.7)
XYZxyz(36.7639, 38.0395, 9.6800)
Luminance0.3804 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A23C #3C5FC5
analogous
#C55E3C #C5A23C #A3C53C
triadic
#C5A23C #3CC5A2 #A23CC5
tetradic
#C5A23C #3CC55E #3C5FC5 #C53CA3
square
#C5A23C #3CC55E #3C5FC5 #C53CA3
split-complementary
#C5A23C #3CA3C5 #5E3CC5
monochromatic
#68551F #977C2D #C5A23C #D3B86B #E1CF9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5A23C#FFFFFF#000000##000000
##C5A23C1.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)
#B4A02F
Deuteranopia (green-blind)
#BCAA41
Tritanopia (blue-blind)
#D5958D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a23c;
/* rgb */ color: rgb(197, 162, 60);
/* oklch */ color: oklch(72.5% 0.125 89.7);
Tailwind
colors: {
  custom: {
    50: '#dabd77',
    500: '#c5a23c',
    950: '#000000',
  },
}
SCSS
$custom: #c5a23c;
$custom-light: #dabd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a23c",
  "rgb": {
    "r": 197,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 44.672,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72537,
    "c": 0.12478,
    "h": 89.7
  },
  "luminance": 0.38037
}

Semantic roles & 50–950 ramp

primary
#C5A23C
secondary
#909FCD
accent
#70DE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A23C

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

Preview Lab → · Contrast checker → · Palette generator →

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