#C5AC3F#C5AC3F

#C5AC3F is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.6% C 0.129 H 96.1°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#C5AC3F
RGBrgb(197, 172, 63)
HSLhsl(49, 54%, 51%)
HSVhsv(49, 68%, 77%)
CMYKcmyk(0%, 12.7%, 68%, 22.7%)
CIE-LABlab(70.69, -3.14, 57.11)
CIE-LCHlch(70.69, 57.20, 93.15°)
OKLaboklab(74.63% -0.0137 0.1284)
OKLCHoklch(74.63% 0.129 96.1)
XYZxyz(38.6775, 41.7362, 10.7203)
Luminance0.4173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AC3F #3F58C5
analogous
#C5693F #C5AC3F #9BC53F
triadic
#C5AC3F #3FC5AC #AC3FC5
tetradic
#C5AC3F #3FC569 #3F58C5 #C53F9B
square
#C5AC3F #3FC569 #3F58C5 #C53F9B
split-complementary
#C5AC3F #3F9BC5 #693FC5
monochromatic
#6A5C20 #99852E #C5AC3F #D3C06E #E1D59D

Accessibility & contrast

On white

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

On black

9.35
#C5AC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AC3F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AC3F#FFFFFF#000000##000000
##C5AC3F1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#D49F96
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c5ac3f;
/* rgb */ color: rgb(197, 172, 63);
/* oklch */ color: oklch(74.6% 0.129 96.1);
Tailwind
colors: {
  custom: {
    50: '#dac47a',
    500: '#c5ac3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5ac3f;
$custom-light: #dac47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ac3f",
  "rgb": {
    "r": 197,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 48.806,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.74629,
    "c": 0.12912,
    "h": 96.1
  },
  "luminance": 0.41734
}

Semantic roles & 50–950 ramp

primary
#C5AC3F
secondary
#929DCE
accent
#66DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C5AC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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