#C5A92A#C5A92A

#C5A92A is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.9% C 0.140 H 95.8°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#C5A92A
RGBrgb(197, 169, 42)
HSLhsl(49, 65%, 47%)
HSVhsv(49, 79%, 77%)
CMYKcmyk(0%, 14.2%, 78.7%, 22.7%)
CIE-LABlab(69.76, -2.52, 64.07)
CIE-LCHlch(69.76, 64.12, 92.25°)
OKLaboklab(73.86% -0.0142 0.1392)
OKLCHoklch(73.86% 0.14 95.8)
XYZxyz(37.6339, 40.4155, 8.0088)
Luminance0.4041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A92A #2A46C5
analogous
#C55B2A #C5A92A #94C52A
triadic
#C5A92A #2AC5A9 #A92AC5
tetradic
#C5A92A #2AC55B #2A46C5 #C52A94
square
#C5A92A #2AC55B #2A46C5 #C52A94
split-complementary
#C5A92A #2A94C5 #5B2AC5
monochromatic
#605214 #937E1F #C5A92A #DAC252 #E5D385

Accessibility & contrast

On white

2.31
#C5A92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#C5A92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A92A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A92A#FFFFFF#000000##000000
##C5A92A1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA50A
Deuteranopia (green-blind)
#C2AE33
Tritanopia (blue-blind)
#D59B91
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c5a92a;
/* rgb */ color: rgb(197, 169, 42);
/* oklch */ color: oklch(73.9% 0.140 95.8);
Tailwind
colors: {
  custom: {
    50: '#dbc26f',
    500: '#c5a92a',
    950: '#000000',
  },
}
SCSS
$custom: #c5a92a;
$custom-light: #dbc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a92a",
  "rgb": {
    "r": 197,
    "g": 169,
    "b": 42
  },
  "hsl": {
    "h": 49.161,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73855,
    "c": 0.13992,
    "h": 95.8
  },
  "luminance": 0.40413
}

Semantic roles & 50–950 ramp

primary
#C5A92A
secondary
#7D8BCE
accent
#5EE840
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C5A92A

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

Preview Lab → · Contrast checker → · Palette generator →

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