#C5B837#C5B837

#C5B837 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.1% C 0.144 H 103.5°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#C5B837
RGBrgb(197, 184, 55)
HSLhsl(55, 56%, 49%)
HSVhsv(55, 72%, 77%)
CMYKcmyk(0%, 6.6%, 72.1%, 22.7%)
CIE-LABlab(73.82, -9.81, 63.38)
CIE-LCHlch(73.82, 64.13, 98.80°)
OKLaboklab(77.1% -0.0335 0.1402)
OKLCHoklch(77.1% 0.144 103.5)
XYZxyz(40.8578, 46.4288, 10.4232)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B837 #3744C5
analogous
#C57137 #C5B837 #8BC537
triadic
#C5B837 #37C5B8 #B837C5
tetradic
#C5B837 #37C571 #3744C5 #C5378B
square
#C5B837 #37C571 #3744C5 #C5378B
split-complementary
#C5B837 #378BC5 #7137C5
monochromatic
#655F1C #958B2A #C5B837 #D4CA65 #E1DA95

Accessibility & contrast

On white

2.04
#C5B837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#C5B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B837
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B837#FFFFFF#000000##000000
##C5B8371.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B221
Deuteranopia (green-blind)
#CDB840
Tritanopia (blue-blind)
#D4AB9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c5b837;
/* rgb */ color: rgb(197, 184, 55);
/* oklch */ color: oklch(77.1% 0.144 103.5);
Tailwind
colors: {
  custom: {
    50: '#dacd77',
    500: '#c5b837',
    950: '#000000',
  },
}
SCSS
$custom: #c5b837;
$custom-light: #dacd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b837",
  "rgb": {
    "r": 197,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 54.507,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77098,
    "c": 0.14418,
    "h": 103.5
  },
  "luminance": 0.46427
}

Semantic roles & 50–950 ramp

primary
#C5B837
secondary
#8B91CD
accent
#56E048
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B837

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

Preview Lab → · Contrast checker → · Palette generator →

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