#C5AC34#C5AC34

#C5AC34 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.5% C 0.136 H 97.0°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#C5AC34
RGBrgb(197, 172, 52)
HSLhsl(50, 58%, 49%)
HSVhsv(50, 74%, 77%)
CMYKcmyk(0%, 12.7%, 73.6%, 22.7%)
CIE-LABlab(70.61, -3.70, 61.38)
CIE-LCHlch(70.61, 61.49, 93.45°)
OKLaboklab(74.54% -0.0165 0.1354)
OKLCHoklch(74.54% 0.136 97)
XYZxyz(38.4003, 41.6253, 9.2600)
Luminance0.4162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AC34 #344DC5
analogous
#C56434 #C5AC34 #96C534
triadic
#C5AC34 #34C5AC #AC34C5
tetradic
#C5AC34 #34C564 #344DC5 #C53496
square
#C5AC34 #34C564 #344DC5 #C53496
split-complementary
#C5AC34 #3496C5 #6434C5
monochromatic
#64571A #958227 #C5AC34 #D5C161 #E2D491

Accessibility & contrast

On white

2.25
#C5AC34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#C5AC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AC34
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AC34#FFFFFF#000000##000000
##C5AC341.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA820
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#D59F94
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c5ac34;
/* rgb */ color: rgb(197, 172, 52);
/* oklch */ color: oklch(74.5% 0.136 97.0);
Tailwind
colors: {
  custom: {
    50: '#dbc474',
    500: '#c5ac34',
    950: '#000000',
  },
}
SCSS
$custom: #c5ac34;
$custom-light: #dbc474;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ac34",
  "rgb": {
    "r": 197,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 49.655,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74544,
    "c": 0.13644,
    "h": 97
  },
  "luminance": 0.41623
}

Semantic roles & 50–950 ramp

primary
#C5AC34
secondary
#8894CD
accent
#61E146
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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