#C5AE4B#C5AE4B

#C5AE4B is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.2% C 0.121 H 96.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#C5AE4B
RGBrgb(197, 174, 75)
HSLhsl(49, 51%, 53%)
HSVhsv(49, 62%, 77%)
CMYKcmyk(0%, 11.7%, 61.9%, 22.7%)
CIE-LABlab(71.32, -3.45, 52.55)
CIE-LCHlch(71.32, 52.66, 93.76°)
OKLaboklab(75.16% -0.0132 0.1206)
OKLCHoklch(75.16% 0.121 96.2)
XYZxyz(39.4337, 42.6523, 12.8109)
Luminance0.4265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5AE4B #4B62C5
analogous
#C5714B #C5AE4B #9FC54B
triadic
#C5AE4B #4BC5AE #AE4BC5
tetradic
#C5AE4B #4BC571 #4B62C5 #C54B9F
square
#C5AE4B #4BC571 #4B62C5 #C54B9F
split-complementary
#C5AE4B #4B9FC5 #714BC5
monochromatic
#716324 #9F8B33 #C5AE4B #D4C379 #E3D8A8

Accessibility & contrast

On white

2.20
#C5AE4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#C5AE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5AE4B
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5AE4B#FFFFFF#000000##000000
##C5AE4B1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA40
Deuteranopia (green-blind)
#C4B250
Tritanopia (blue-blind)
#D4A299
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c5ae4b;
/* rgb */ color: rgb(197, 174, 75);
/* oklch */ color: oklch(75.2% 0.121 96.2);
Tailwind
colors: {
  custom: {
    50: '#dac581',
    500: '#c5ae4b',
    950: '#000000',
  },
}
SCSS
$custom: #c5ae4b;
$custom-light: #dac581;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ae4b",
  "rgb": {
    "r": 197,
    "g": 174,
    "b": 75
  },
  "hsl": {
    "h": 48.689,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.7516,
    "c": 0.12127,
    "h": 96.2
  },
  "luminance": 0.4265
}

Semantic roles & 50–950 ramp

primary
#C5AE4B
secondary
#9CA6D0
accent
#68DB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C5AE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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