#C4B342#C4B342

#C4B342 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.0% C 0.132 H 100.7°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#C4B342
RGBrgb(196, 179, 66)
HSLhsl(52, 52%, 51%)
HSVhsv(52, 66%, 77%)
CMYKcmyk(0%, 8.7%, 66.3%, 23.1%)
CIE-LABlab(72.48, -7.07, 57.68)
CIE-LCHlch(72.48, 58.12, 96.99°)
OKLaboklab(76.03% -0.0245 0.1301)
OKLCHoklch(76.03% 0.132 100.7)
XYZxyz(39.8701, 44.3710, 11.6175)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B342 #4253C4
analogous
#C47242 #C4B342 #94C442
triadic
#C4B342 #42C4B3 #B342C4
tetradic
#C4B342 #42C472 #4253C4 #C44294
square
#C4B342 #42C472 #4253C4 #C44294
split-complementary
#C4B342 #4294C4 #7242C4
monochromatic
#6A6121 #998B30 #C4B342 #D3C671 #E1D99F

Accessibility & contrast

On white

2.13
#C4B342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#C4B342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B342
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B342#FFFFFF#000000##000000
##C4B3421.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE33
Deuteranopia (green-blind)
#C8B548
Tritanopia (blue-blind)
#D3A79C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c4b342;
/* rgb */ color: rgb(196, 179, 66);
/* oklch */ color: oklch(76.0% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#d9c97c',
    500: '#c4b342',
    950: '#000000',
  },
}
SCSS
$custom: #c4b342;
$custom-light: #d9c97c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b342",
  "rgb": {
    "r": 196,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 52.154,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76031,
    "c": 0.13242,
    "h": 100.7
  },
  "luminance": 0.44369
}

Semantic roles & 50–950 ramp

primary
#C4B342
secondary
#949CCE
accent
#5FDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B342

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

Preview Lab → · Contrast checker → · Palette generator →

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