#C5A43E#C5A43E

#C5A43E is a light, vivid yellow. Relative luminance 0.388; OKLCH L 73.0% C 0.125 H 90.8°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#C5A43E
RGBrgb(197, 164, 62)
HSLhsl(45, 54%, 51%)
HSVhsv(45, 69%, 77%)
CMYKcmyk(0%, 16.8%, 68.5%, 22.7%)
CIE-LABlab(68.59, 1.06, 55.35)
CIE-LCHlch(68.59, 55.37, 88.90°)
OKLaboklab(72.97% -0.0018 0.1245)
OKLCHoklch(72.97% 0.125 90.8)
XYZxyz(37.1729, 38.7712, 10.0821)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A43E #3E5FC5
analogous
#C5603E #C5A43E #A3C53E
triadic
#C5A43E #3EC5A4 #A43EC5
tetradic
#C5A43E #3EC560 #3E5FC5 #C53EA3
square
#C5A43E #3EC560 #3E5FC5 #C53EA3
split-complementary
#C5A43E #3EA3C5 #603EC5
monochromatic
#695720 #987E2E #C5A43E #D3BA6D #E1D09C

Accessibility & contrast

On white

2.40
#C5A43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#C5A43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A43E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A43E#FFFFFF#000000##000000
##C5A43E1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A231
Deuteranopia (green-blind)
#BEAB43
Tritanopia (blue-blind)
#D5978F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c5a43e;
/* rgb */ color: rgb(197, 164, 62);
/* oklch */ color: oklch(73.0% 0.125 90.8);
Tailwind
colors: {
  custom: {
    50: '#dabe79',
    500: '#c5a43e',
    950: '#000000',
  },
}
SCSS
$custom: #c5a43e;
$custom-light: #dabe79;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a43e",
  "rgb": {
    "r": 197,
    "g": 164,
    "b": 62
  },
  "hsl": {
    "h": 45.333,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72965,
    "c": 0.12451,
    "h": 90.8
  },
  "luminance": 0.38769
}

Semantic roles & 50–950 ramp

primary
#C5A43E
secondary
#91A0CD
accent
#6EDD4B
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5A43E

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

Preview Lab → · Contrast checker → · Palette generator →

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