#C4B837#C4B837

#C4B837 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.0% C 0.144 H 103.9°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#C4B837
RGBrgb(196, 184, 55)
HSLhsl(55, 56%, 49%)
HSVhsv(55, 72%, 77%)
CMYKcmyk(0%, 6.1%, 71.9%, 23.1%)
CIE-LABlab(73.74, -10.24, 63.26)
CIE-LCHlch(73.74, 64.09, 99.20°)
OKLaboklab(77.01% -0.0347 0.14)
OKLCHoklch(77.01% 0.144 103.9)
XYZxyz(40.5968, 46.2942, 10.4109)
Luminance0.4629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B837 #3743C4
analogous
#C47237 #C4B837 #89C437
triadic
#C4B837 #37C4B8 #B837C4
tetradic
#C4B837 #37C472 #3743C4 #C43789
square
#C4B837 #37C472 #3743C4 #C43789
split-complementary
#C4B837 #3789C4 #7237C4
monochromatic
#645E1C #948B2A #C4B837 #D4CA65 #E1DB94

Accessibility & contrast

On white

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

On black

10.26
#C4B837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B837
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B837#FFFFFF#000000##000000
##C4B8371.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B221
Deuteranopia (green-blind)
#CCB840
Tritanopia (blue-blind)
#D3AB9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c4b837;
/* rgb */ color: rgb(196, 184, 55);
/* oklch */ color: oklch(77.0% 0.144 103.9);
Tailwind
colors: {
  custom: {
    50: '#dacd77',
    500: '#c4b837',
    950: '#000000',
  },
}
SCSS
$custom: #c4b837;
$custom-light: #dacd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b837",
  "rgb": {
    "r": 196,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 54.894,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77008,
    "c": 0.14426,
    "h": 103.9
  },
  "luminance": 0.46293
}

Semantic roles & 50–950 ramp

primary
#C4B837
secondary
#8B90CC
accent
#55DF48
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B837

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

Preview Lab → · Contrast checker → · Palette generator →

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