#C5B147#C5B147

#C5B147 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.7% C 0.127 H 98.6°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#C5B147
RGBrgb(197, 177, 71)
HSLhsl(50, 52%, 53%)
HSVhsv(50, 64%, 77%)
CMYKcmyk(0%, 10.2%, 64%, 22.7%)
CIE-LABlab(72.08, -5.29, 55.15)
CIE-LCHlch(72.08, 55.41, 95.48°)
OKLaboklab(75.75% -0.019 0.1255)
OKLCHoklch(75.75% 0.127 98.6)
XYZxyz(39.8871, 43.7713, 12.3077)
Luminance0.4377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B147 #475BC5
analogous
#C57247 #C5B147 #9AC547
triadic
#C5B147 #47C5B1 #B147C5
tetradic
#C5B147 #47C572 #475BC5 #C5479A
square
#C5B147 #47C572 #475BC5 #C5479A
split-complementary
#C5B147 #479AC5 #7247C5
monochromatic
#6F6323 #9D8C32 #C5B147 #D4C576 #E2D8A4

Accessibility & contrast

On white

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

On black

9.75
#C5B147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B147
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B147#FFFFFF#000000##000000
##C5B1471.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5b147;
/* rgb */ color: rgb(197, 177, 71);
/* oklch */ color: oklch(75.7% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#dac87f',
    500: '#c5b147',
    950: '#000000',
  },
}
SCSS
$custom: #c5b147;
$custom-light: #dac87f;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b147",
  "rgb": {
    "r": 197,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 50.476,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75748,
    "c": 0.12694,
    "h": 98.6
  },
  "luminance": 0.4377
}

Semantic roles & 50–950 ramp

primary
#C5B147
secondary
#99A1CF
accent
#63DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B147

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

Preview Lab → · Contrast checker → · Palette generator →

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