#C5B04D#C5B04D

#C5B04D is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.6% C 0.121 H 97.4°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#C5B04D
RGBrgb(197, 176, 77)
HSLhsl(50, 51%, 54%)
HSVhsv(50, 61%, 77%)
CMYKcmyk(0%, 10.7%, 60.9%, 22.7%)
CIE-LABlab(71.87, -4.37, 52.24)
CIE-LCHlch(71.87, 52.42, 94.78°)
OKLaboklab(75.6% -0.0156 0.1202)
OKLCHoklch(75.6% 0.121 97.4)
XYZxyz(39.8925, 43.4586, 13.3068)
Luminance0.4346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B04D #4D62C5
analogous
#C5744D #C5B04D #9EC54D
triadic
#C5B04D #4DC5B0 #B04DC5
tetradic
#C5B04D #4DC574 #4D62C5 #C54D9E
square
#C5B04D #4DC574 #4D62C5 #C54D9E
split-complementary
#C5B04D #4D9EC5 #744DC5
monochromatic
#726525 #A08E34 #C5B04D #D4C47B #E3D9A9

Accessibility & contrast

On white

2.17
#C5B04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#C5B04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B04D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B04D#FFFFFF#000000##000000
##C5B04D1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC42
Deuteranopia (green-blind)
#C6B352
Tritanopia (blue-blind)
#D3A49A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b04d;
/* rgb */ color: rgb(197, 176, 77);
/* oklch */ color: oklch(75.6% 0.121 97.4);
Tailwind
colors: {
  custom: {
    50: '#d9c783',
    500: '#c5b04d',
    950: '#000000',
  },
}
SCSS
$custom: #c5b04d;
$custom-light: #d9c783;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b04d",
  "rgb": {
    "r": 197,
    "g": 176,
    "b": 77
  },
  "hsl": {
    "h": 49.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75599,
    "c": 0.12118,
    "h": 97.4
  },
  "luminance": 0.43457
}

Semantic roles & 50–950 ramp

primary
#C5B04D
secondary
#9DA6D1
accent
#66DA4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5B04D

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

Preview Lab → · Contrast checker → · Palette generator →

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