#C5A933#C5A933

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

Color values

HEX#C5A933
RGBrgb(197, 169, 51)
HSLhsl(48, 59%, 49%)
HSVhsv(48, 74%, 77%)
CMYKcmyk(0%, 14.2%, 74.1%, 22.7%)
CIE-LABlab(69.82, -2.15, 60.98)
CIE-LCHlch(69.82, 61.02, 92.02°)
OKLaboklab(73.91% -0.0122 0.1344)
OKLCHoklch(73.91% 0.135 95.2)
XYZxyz(37.8135, 40.4874, 8.9545)
Luminance0.4048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5A933 #334FC5
analogous
#C56033 #C5A933 #98C533
triadic
#C5A933 #33C5A9 #A933C5
tetradic
#C5A933 #33C560 #334FC5 #C53398
square
#C5A933 #33C560 #334FC5 #C53398
split-complementary
#C5A933 #3398C5 #6033C5
monochromatic
#64561A #947F26 #C5A933 #D6BF5F #E2D390

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5A933#FFFFFF#000000##000000
##C5A9331.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)
#BBA61F
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#D59C92
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c5a933;
/* rgb */ color: rgb(197, 169, 51);
/* oklch */ color: oklch(73.9% 0.135 95.2);
Tailwind
colors: {
  custom: {
    50: '#dbc273',
    500: '#c5a933',
    950: '#000000',
  },
}
SCSS
$custom: #c5a933;
$custom-light: #dbc273;
$custom-dark: #000000;
JSON
{
  "hex": "#c5a933",
  "rgb": {
    "r": 197,
    "g": 169,
    "b": 51
  },
  "hsl": {
    "h": 48.493,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73911,
    "c": 0.13496,
    "h": 95.2
  },
  "luminance": 0.40485
}

Semantic roles & 50–950 ramp

primary
#C5A933
secondary
#8794CD
accent
#64E246
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#151208
muted
#84817B

Preview Lab

Preview with #C5A933

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

Preview Lab → · Contrast checker → · Palette generator →

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