#C5A23B#C5A23B

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

Color values

HEX#C5A23B
RGBrgb(197, 162, 59)
HSLhsl(45, 54%, 50%)
HSVhsv(45, 70%, 77%)
CMYKcmyk(0%, 17.8%, 70.1%, 22.7%)
CIE-LABlab(68.04, 1.97, 56.06)
CIE-LCHlch(68.04, 56.10, 87.99°)
OKLaboklab(72.53% 0.0005 0.1255)
OKLCHoklch(72.53% 0.125 89.8)
XYZxyz(36.7377, 38.0290, 9.5421)
Luminance0.3803 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A23B #3B5EC5
analogous
#C55D3B #C5A23B #A3C53B
triadic
#C5A23B #3BC5A2 #A23BC5
tetradic
#C5A23B #3BC55D #3B5EC5 #C53BA3
square
#C5A23B #3BC55D #3B5EC5 #C53BA3
split-complementary
#C5A23B #3BA3C5 #5D3BC5
monochromatic
#67551F #967B2C #C5A23B #D3B86A #E1CF99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5A23B#FFFFFF#000000##000000
##C5A23B1.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)
#B4A02D
Deuteranopia (green-blind)
#BDAA40
Tritanopia (blue-blind)
#D5958D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c5a23b;
/* rgb */ color: rgb(197, 162, 59);
/* oklch */ color: oklch(72.5% 0.125 89.8);
Tailwind
colors: {
  custom: {
    50: '#dabd77',
    500: '#c5a23b',
    950: '#000000',
  },
}
SCSS
$custom: #c5a23b;
$custom-light: #dabd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a23b",
  "rgb": {
    "r": 197,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 44.783,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72529,
    "c": 0.12547,
    "h": 89.8
  },
  "luminance": 0.38027
}

Semantic roles & 50–950 ramp

primary
#C5A23B
secondary
#8F9FCD
accent
#70DE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A23B

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

Preview Lab → · Contrast checker → · Palette generator →

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