#C4B82B#C4B82B

#C4B82B is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.9% C 0.151 H 104.3°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#C4B82B
RGBrgb(196, 184, 43)
HSLhsl(55, 64%, 47%)
HSVhsv(55, 78%, 77%)
CMYKcmyk(0%, 6.1%, 78.1%, 23.1%)
CIE-LABlab(73.67, -10.75, 67.24)
CIE-LCHlch(73.67, 68.09, 99.08°)
OKLaboklab(76.94% -0.0372 0.1462)
OKLCHoklch(76.94% 0.151 104.3)
XYZxyz(40.3433, 46.1928, 9.0761)
Luminance0.4619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B82B #2B37C4
analogous
#C46C2B #C4B82B #84C42B
triadic
#C4B82B #2BC4B8 #B82BC4
tetradic
#C4B82B #2BC46C #2B37C4 #C42B84
square
#C4B82B #2BC46C #2B37C4 #C42B84
split-complementary
#C4B82B #2B84C4 #6C2BC4
monochromatic
#605A15 #928920 #C4B82B #D9CF53 #E4DD85

Accessibility & contrast

On white

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

On black

10.24
#C4B82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B82B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B82B#FFFFFF#000000##000000
##C4B82B1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B201
Deuteranopia (green-blind)
#CDB836
Tritanopia (blue-blind)
#D3AB9E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c4b82b;
/* rgb */ color: rgb(196, 184, 43);
/* oklch */ color: oklch(76.9% 0.151 104.3);
Tailwind
colors: {
  custom: {
    50: '#dacc71',
    500: '#c4b82b',
    950: '#000000',
  },
}
SCSS
$custom: #c4b82b;
$custom-light: #dacc71;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b82b",
  "rgb": {
    "r": 196,
    "g": 184,
    "b": 43
  },
  "hsl": {
    "h": 55.294,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76935,
    "c": 0.15089,
    "h": 104.3
  },
  "luminance": 0.46191
}

Semantic roles & 50–950 ramp

primary
#C4B82B
secondary
#7D84CE
accent
#4EE741
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C4B82B

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

Preview Lab → · Contrast checker → · Palette generator →

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