#C5A138#C5A138

#C5A138 is a light, vivid orange. Relative luminance 0.376; OKLCH L 72.3% C 0.127 H 89.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#C5A138
RGBrgb(197, 161, 56)
HSLhsl(45, 56%, 50%)
HSVhsv(45, 72%, 77%)
CMYKcmyk(0%, 18.3%, 71.6%, 22.7%)
CIE-LABlab(67.76, 2.35, 57.02)
CIE-LCHlch(67.76, 57.07, 87.64°)
OKLaboklab(72.3% 0.0012 0.127)
OKLCHoklch(72.3% 0.127 89.5)
XYZxyz(36.4867, 37.6478, 9.0856)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A138 #385CC5
analogous
#C55B38 #C5A138 #A3C538
triadic
#C5A138 #38C5A1 #A138C5
tetradic
#C5A138 #38C55B #385CC5 #C538A3
square
#C5A138 #38C55B #385CC5 #C538A3
split-complementary
#C5A138 #38A3C5 #5B38C5
monochromatic
#66531D #957A2A #C5A138 #D4B867 #E1CE96

Accessibility & contrast

On white

2.46
#C5A138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#C5A138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A138
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A138#FFFFFF#000000##000000
##C5A1381.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#D5938C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c5a138;
/* rgb */ color: rgb(197, 161, 56);
/* oklch */ color: oklch(72.3% 0.127 89.5);
Tailwind
colors: {
  custom: {
    50: '#dbbc75',
    500: '#c5a138',
    950: '#000000',
  },
}
SCSS
$custom: #c5a138;
$custom-light: #dbbc75;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a138",
  "rgb": {
    "r": 197,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 44.681,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.723,
    "c": 0.12696,
    "h": 89.5
  },
  "luminance": 0.37646
}

Semantic roles & 50–950 ramp

primary
#C5A138
secondary
#8C9DCD
accent
#6FDF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #C5A138

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

Preview Lab → · Contrast checker → · Palette generator →

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