#C5B048#C5B048

#C5B048 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.5% C 0.125 H 97.9°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#C5B048
RGBrgb(197, 176, 72)
HSLhsl(50, 52%, 53%)
HSVhsv(50, 63%, 77%)
CMYKcmyk(0%, 10.7%, 63.5%, 22.7%)
CIE-LABlab(71.82, -4.71, 54.44)
CIE-LCHlch(71.82, 54.64, 94.94°)
OKLaboklab(75.55% -0.0171 0.1242)
OKLCHoklch(75.55% 0.125 97.9)
XYZxyz(39.7227, 43.3907, 12.4125)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B048 #485DC5
analogous
#C57148 #C5B048 #9BC548
triadic
#C5B048 #48C5B0 #B048C5
tetradic
#C5B048 #48C571 #485DC5 #C5489B
square
#C5B048 #48C571 #485DC5 #C5489B
split-complementary
#C5B048 #489BC5 #7148C5
monochromatic
#6F6323 #9E8C32 #C5B048 #D4C476 #E2D8A5

Accessibility & contrast

On white

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

On black

9.68
#C5B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B048
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B048#FFFFFF#000000##000000
##C5B0481.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3C
Deuteranopia (green-blind)
#C6B34D
Tritanopia (blue-blind)
#D4A49A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b048;
/* rgb */ color: rgb(197, 176, 72);
/* oklch */ color: oklch(75.5% 0.125 97.9);
Tailwind
colors: {
  custom: {
    50: '#dac77f',
    500: '#c5b048',
    950: '#000000',
  },
}
SCSS
$custom: #c5b048;
$custom-light: #dac77f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b048",
  "rgb": {
    "r": 197,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 49.92,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75548,
    "c": 0.12533,
    "h": 97.9
  },
  "luminance": 0.43389
}

Semantic roles & 50–950 ramp

primary
#C5B048
secondary
#99A2CF
accent
#64DB4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B048

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

Preview Lab → · Contrast checker → · Palette generator →

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