#C4B931#C4B931

#C4B931 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.2% C 0.149 H 104.6°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#C4B931
RGBrgb(196, 185, 49)
HSLhsl(56, 60%, 48%)
HSVhsv(56, 75%, 77%)
CMYKcmyk(0%, 5.6%, 75%, 23.1%)
CIE-LABlab(73.97, -11.03, 65.59)
CIE-LCHlch(73.97, 66.51, 99.54°)
OKLaboklab(77.18% -0.0375 0.1438)
OKLCHoklch(77.18% 0.149 104.6)
XYZxyz(40.6701, 46.6571, 9.7686)
Luminance0.4666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B931 #313CC4
analogous
#C46F31 #C4B931 #85C431
triadic
#C4B931 #31C4B9 #B931C4
tetradic
#C4B931 #31C46F #313CC4 #C43185
square
#C4B931 #31C46F #313CC4 #C43185
split-complementary
#C4B931 #3185C4 #6F31C4
monochromatic
#625D19 #938B25 #C4B931 #D6CD5C #E2DC8D

Accessibility & contrast

On white

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

On black

10.33
#C4B931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B931
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B931#FFFFFF#000000##000000
##C4B9311.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB214
Deuteranopia (green-blind)
#CDB93B
Tritanopia (blue-blind)
#D3AC9F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c4b931;
/* rgb */ color: rgb(196, 185, 49);
/* oklch */ color: oklch(77.2% 0.149 104.6);
Tailwind
colors: {
  custom: {
    50: '#dacd74',
    500: '#c4b931',
    950: '#000000',
  },
}
SCSS
$custom: #c4b931;
$custom-light: #dacd74;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b931",
  "rgb": {
    "r": 196,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 55.51,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77183,
    "c": 0.14864,
    "h": 104.6
  },
  "luminance": 0.46655
}

Semantic roles & 50–950 ramp

primary
#C4B931
secondary
#8489CD
accent
#51E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C4B931

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

Preview Lab → · Contrast checker → · Palette generator →

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