#C5A934#C5A934

#C5A934 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.9% C 0.134 H 95.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#C5A934
RGBrgb(197, 169, 52)
HSLhsl(48, 58%, 49%)
HSVhsv(48, 74%, 77%)
CMYKcmyk(0%, 14.2%, 73.6%, 22.7%)
CIE-LABlab(69.82, -2.11, 60.62)
CIE-LCHlch(69.82, 60.65, 91.99°)
OKLaboklab(73.92% -0.012 0.1338)
OKLCHoklch(73.92% 0.134 95.1)
XYZxyz(37.8357, 40.4963, 9.0718)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A934 #3450C5
analogous
#C56134 #C5A934 #99C534
triadic
#C5A934 #34C5A9 #A934C5
tetradic
#C5A934 #34C561 #3450C5 #C53499
square
#C5A934 #34C561 #3450C5 #C53499
split-complementary
#C5A934 #3499C5 #6134C5
monochromatic
#64561A #957F27 #C5A934 #D5BF61 #E2D291

Accessibility & contrast

On white

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

On black

9.10
#C5A934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5A934
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5A934#FFFFFF#000000##000000
##C5A9341.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA621
Deuteranopia (green-blind)
#C2AE3B
Tritanopia (blue-blind)
#D59C92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c5a934;
/* rgb */ color: rgb(197, 169, 52);
/* oklch */ color: oklch(73.9% 0.134 95.1);
Tailwind
colors: {
  custom: {
    50: '#dbc273',
    500: '#c5a934',
    950: '#000000',
  },
}
SCSS
$custom: #c5a934;
$custom-light: #dbc273;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a934",
  "rgb": {
    "r": 197,
    "g": 169,
    "b": 52
  },
  "hsl": {
    "h": 48.414,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73918,
    "c": 0.13435,
    "h": 95.1
  },
  "luminance": 0.40494
}

Semantic roles & 50–950 ramp

primary
#C5A934
secondary
#8895CD
accent
#64E146
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#151209
muted
#84817B

Preview Lab

Preview with #C5A934

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

Preview Lab → · Contrast checker → · Palette generator →

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