#C5B751#C5B751

#C5B751 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.1% C 0.124 H 101.6°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#C5B751
RGBrgb(197, 183, 81)
HSLhsl(53, 50%, 55%)
HSVhsv(53, 59%, 77%)
CMYKcmyk(0%, 7.1%, 58.9%, 22.7%)
CIE-LABlab(73.76, -7.74, 52.53)
CIE-LCHlch(73.76, 53.09, 98.39°)
OKLaboklab(77.11% -0.0248 0.1213)
OKLCHoklch(77.11% 0.124 101.6)
XYZxyz(41.4461, 46.3330, 14.5430)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B751 #515FC5
analogous
#C57D51 #C5B751 #99C551
triadic
#C5B751 #51C5B7 #B751C5
tetradic
#C5B751 #51C57D #515FC5 #C55199
square
#C5B751 #51C57D #515FC5 #C55199
split-complementary
#C5B751 #5199C5 #7D51C5
monochromatic
#756B27 #A39636 #C5B751 #D4CA7F #E4DDAD

Accessibility & contrast

On white

2.05
#C5B751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#C5B751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B751
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B751#FFFFFF#000000##000000
##C5B7511.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B246
Deuteranopia (green-blind)
#CAB856
Tritanopia (blue-blind)
#D3ABA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c5b751;
/* rgb */ color: rgb(197, 183, 81);
/* oklch */ color: oklch(77.1% 0.124 101.6);
Tailwind
colors: {
  custom: {
    50: '#d9cc85',
    500: '#c5b751',
    950: '#000000',
  },
}
SCSS
$custom: #c5b751;
$custom-light: #d9cc85;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b751",
  "rgb": {
    "r": 197,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 52.759,
    "s": 50,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77114,
    "c": 0.12382,
    "h": 101.6
  },
  "luminance": 0.46331
}

Semantic roles & 50–950 ramp

primary
#C5B751
secondary
#A0A6D1
accent
#5FDA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C5B751

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

Preview Lab → · Contrast checker → · Palette generator →

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