#C5B836#C5B836

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

Color values

HEX#C5B836
RGBrgb(197, 184, 54)
HSLhsl(55, 57%, 49%)
HSVhsv(55, 73%, 77%)
CMYKcmyk(0%, 6.6%, 72.6%, 22.7%)
CIE-LABlab(73.82, -9.86, 63.73)
CIE-LCHlch(73.82, 64.49, 98.79°)
OKLaboklab(77.09% -0.0338 0.1408)
OKLCHoklch(77.09% 0.145 103.5)
XYZxyz(40.8341, 46.4193, 10.2982)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B836 #3643C5
analogous
#C57036 #C5B836 #8BC536
triadic
#C5B836 #36C5B8 #B836C5
tetradic
#C5B836 #36C570 #3643C5 #C5368B
square
#C5B836 #36C570 #3643C5 #C5368B
split-complementary
#C5B836 #368BC5 #7036C5
monochromatic
#655E1C #958B29 #C5B836 #D4CA64 #E2DB94

Accessibility & contrast

On white

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

On black

10.28
#C5B836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B836
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B836#FFFFFF#000000##000000
##C5B8361.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5b836;
/* rgb */ color: rgb(197, 184, 54);
/* oklch */ color: oklch(77.1% 0.145 103.5);
Tailwind
colors: {
  custom: {
    50: '#dacd76',
    500: '#c5b836',
    950: '#000000',
  },
}
SCSS
$custom: #c5b836;
$custom-light: #dacd76;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b836",
  "rgb": {
    "r": 197,
    "g": 184,
    "b": 54
  },
  "hsl": {
    "h": 54.545,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77091,
    "c": 0.14479,
    "h": 103.5
  },
  "luminance": 0.46418
}

Semantic roles & 50–950 ramp

primary
#C5B836
secondary
#8A90CD
accent
#55E048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B836

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

Preview Lab → · Contrast checker → · Palette generator →

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