#C5B24A#C5B24A

#C5B24A is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.0% C 0.125 H 99.0°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#C5B24A
RGBrgb(197, 178, 74)
HSLhsl(51, 51%, 53%)
HSVhsv(51, 62%, 77%)
CMYKcmyk(0%, 9.6%, 62.4%, 22.7%)
CIE-LABlab(72.37, -5.62, 54.14)
CIE-LCHlch(72.37, 54.44, 95.93°)
OKLaboklab(75.99% -0.0195 0.1238)
OKLCHoklch(75.99% 0.125 99)
XYZxyz(40.1840, 44.2073, 12.8934)
Luminance0.4421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B24A #4A5DC5
analogous
#C5754A #C5B24A #9AC54A
triadic
#C5B24A #4AC5B2 #B24AC5
tetradic
#C5B24A #4AC575 #4A5DC5 #C54A9A
square
#C5B24A #4AC575 #4A5DC5 #C54A9A
split-complementary
#C5B24A #4A9AC5 #754AC5
monochromatic
#716524 #9F8E33 #C5B24A #D4C678 #E3D9A7

Accessibility & contrast

On white

2.13
#C5B24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#C5B24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B24A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B24A#FFFFFF#000000##000000
##C5B24A1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE3E
Deuteranopia (green-blind)
#C7B44F
Tritanopia (blue-blind)
#D3A69C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c5b24a;
/* rgb */ color: rgb(197, 178, 74);
/* oklch */ color: oklch(76.0% 0.125 99.0);
Tailwind
colors: {
  custom: {
    50: '#dac881',
    500: '#c5b24a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b24a;
$custom-light: #dac881;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b24a",
  "rgb": {
    "r": 197,
    "g": 178,
    "b": 74
  },
  "hsl": {
    "h": 50.732,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75988,
    "c": 0.12534,
    "h": 99
  },
  "luminance": 0.44206
}

Semantic roles & 50–950 ramp

primary
#C5B24A
secondary
#9BA3D0
accent
#63DB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5B24A

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

Preview Lab → · Contrast checker → · Palette generator →

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