#C5B937#C5B937

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

Color values

HEX#C5B937
RGBrgb(197, 185, 55)
HSLhsl(55, 56%, 49%)
HSVhsv(55, 72%, 77%)
CMYKcmyk(0%, 6.1%, 72.1%, 22.7%)
CIE-LABlab(74.09, -10.33, 63.64)
CIE-LCHlch(74.09, 64.47, 99.22°)
OKLaboklab(77.31% -0.035 0.1408)
OKLCHoklch(77.31% 0.145 104)
XYZxyz(41.0663, 46.8457, 10.4927)
Luminance0.4684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B937 #3743C5
analogous
#C57237 #C5B937 #8AC537
triadic
#C5B937 #37C5B9 #B937C5
tetradic
#C5B937 #37C572 #3743C5 #C5378A
square
#C5B937 #37C572 #3743C5 #C5378A
split-complementary
#C5B937 #378AC5 #7237C5
monochromatic
#655F1C #958C2A #C5B937 #D4CB65 #E1DB95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5B937#FFFFFF#000000##000000
##C5B9371.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)
#CAB320
Deuteranopia (green-blind)
#CEB940
Tritanopia (blue-blind)
#D4ACA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c5b937;
/* rgb */ color: rgb(197, 185, 55);
/* oklch */ color: oklch(77.3% 0.145 104.0);
Tailwind
colors: {
  custom: {
    50: '#dacd77',
    500: '#c5b937',
    950: '#000000',
  },
}
SCSS
$custom: #c5b937;
$custom-light: #dacd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b937",
  "rgb": {
    "r": 197,
    "g": 185,
    "b": 55
  },
  "hsl": {
    "h": 54.93,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77311,
    "c": 0.14506,
    "h": 104
  },
  "luminance": 0.46844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5B937

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

Preview Lab → · Contrast checker → · Palette generator →

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