#C5B149#C5B149

#C5B149 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.8% C 0.125 H 98.4°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#C5B149
RGBrgb(197, 177, 73)
HSLhsl(50, 52%, 53%)
HSVhsv(50, 63%, 77%)
CMYKcmyk(0%, 10.2%, 62.9%, 22.7%)
CIE-LABlab(72.09, -5.16, 54.29)
CIE-LCHlch(72.09, 54.54, 95.43°)
OKLaboklab(75.77% -0.0183 0.124)
OKLCHoklch(75.77% 0.125 98.4)
XYZxyz(39.9524, 43.7974, 12.6513)
Luminance0.4380 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B149 #495DC5
analogous
#C57349 #C5B149 #9BC549
triadic
#C5B149 #49C5B1 #B149C5
tetradic
#C5B149 #49C573 #495DC5 #C5499B
square
#C5B149 #49C573 #495DC5 #C5499B
split-complementary
#C5B149 #499BC5 #7349C5
monochromatic
#706424 #9E8D32 #C5B149 #D4C577 #E3D9A6

Accessibility & contrast

On white

2.15
#C5B149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#C5B149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B149
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B149#FFFFFF#000000##000000
##C5B1491.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3D
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#D4A59B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c5b149;
/* rgb */ color: rgb(197, 177, 73);
/* oklch */ color: oklch(75.8% 0.125 98.4);
Tailwind
colors: {
  custom: {
    50: '#dac880',
    500: '#c5b149',
    950: '#000000',
  },
}
SCSS
$custom: #c5b149;
$custom-light: #dac880;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b149",
  "rgb": {
    "r": 197,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 50.323,
    "s": 51.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75768,
    "c": 0.12533,
    "h": 98.4
  },
  "luminance": 0.43796
}

Semantic roles & 50–950 ramp

primary
#C5B149
secondary
#9AA3D0
accent
#64DB4D
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B149

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

Preview Lab → · Contrast checker → · Palette generator →

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