#C5B936#C5B936

#C5B936 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.3% C 0.146 H 104.0°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#C5B936
RGBrgb(197, 185, 54)
HSLhsl(55, 57%, 49%)
HSVhsv(55, 73%, 77%)
CMYKcmyk(0%, 6.1%, 72.6%, 22.7%)
CIE-LABlab(74.08, -10.38, 63.99)
CIE-LCHlch(74.08, 64.83, 99.21°)
OKLaboklab(77.3% -0.0352 0.1413)
OKLCHoklch(77.3% 0.146 104)
XYZxyz(41.0425, 46.8362, 10.3677)
Luminance0.4683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B936 #3642C5
analogous
#C57236 #C5B936 #8AC536
triadic
#C5B936 #36C5B9 #B936C5
tetradic
#C5B936 #36C572 #3642C5 #C5368A
square
#C5B936 #36C572 #3642C5 #C5368A
split-complementary
#C5B936 #368AC5 #7236C5
monochromatic
#655F1C #958C29 #C5B936 #D4CB64 #E2DB94

Accessibility & contrast

On white

2.03
#C5B936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#C5B936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B936
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B936#FFFFFF#000000##000000
##C5B9361.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB31E
Deuteranopia (green-blind)
#CEB93F
Tritanopia (blue-blind)
#D4ACA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c5b936;
/* rgb */ color: rgb(197, 185, 54);
/* oklch */ color: oklch(77.3% 0.146 104.0);
Tailwind
colors: {
  custom: {
    50: '#dacd76',
    500: '#c5b936',
    950: '#000000',
  },
}
SCSS
$custom: #c5b936;
$custom-light: #dacd76;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b936",
  "rgb": {
    "r": 197,
    "g": 185,
    "b": 54
  },
  "hsl": {
    "h": 54.965,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77304,
    "c": 0.14566,
    "h": 104
  },
  "luminance": 0.46835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5B936

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

Preview Lab → · Contrast checker → · Palette generator →

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