#C4B442#C4B442

#C4B442 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.2% C 0.133 H 101.3°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#C4B442
RGBrgb(196, 180, 66)
HSLhsl(53, 52%, 51%)
HSVhsv(53, 66%, 77%)
CMYKcmyk(0%, 8.2%, 66.3%, 23.1%)
CIE-LABlab(72.74, -7.59, 57.96)
CIE-LCHlch(72.74, 58.46, 97.46°)
OKLaboklab(76.24% -0.026 0.1307)
OKLCHoklch(76.24% 0.133 101.3)
XYZxyz(40.0713, 44.7733, 11.6846)
Luminance0.4477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B442 #4252C4
analogous
#C47342 #C4B442 #93C442
triadic
#C4B442 #42C4B4 #B442C4
tetradic
#C4B442 #42C473 #4252C4 #C44293
square
#C4B442 #42C473 #4252C4 #C44293
split-complementary
#C4B442 #4293C4 #7342C4
monochromatic
#6A6121 #998C30 #C4B442 #D3C771 #E1D99F

Accessibility & contrast

On white

2.11
#C4B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#C4B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B442
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B442#FFFFFF#000000##000000
##C4B4421.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF33
Deuteranopia (green-blind)
#C9B549
Tritanopia (blue-blind)
#D3A89C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c4b442;
/* rgb */ color: rgb(196, 180, 66);
/* oklch */ color: oklch(76.2% 0.133 101.3);
Tailwind
colors: {
  custom: {
    50: '#d9ca7c',
    500: '#c4b442',
    950: '#000000',
  },
}
SCSS
$custom: #c4b442;
$custom-light: #d9ca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b442",
  "rgb": {
    "r": 196,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 52.615,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76243,
    "c": 0.13327,
    "h": 101.3
  },
  "luminance": 0.44772
}

Semantic roles & 50–950 ramp

primary
#C4B442
secondary
#949BCE
accent
#5EDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B442

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

Preview Lab → · Contrast checker → · Palette generator →

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