#C4B642#C4B642

#C4B642 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.7% C 0.135 H 102.4°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#C4B642
RGBrgb(196, 182, 66)
HSLhsl(54, 52%, 51%)
HSVhsv(54, 66%, 77%)
CMYKcmyk(0%, 7.1%, 66.3%, 23.1%)
CIE-LABlab(73.28, -8.63, 58.52)
CIE-LCHlch(73.28, 59.15, 98.39°)
OKLaboklab(76.67% -0.029 0.1319)
OKLCHoklch(76.67% 0.135 102.4)
XYZxyz(40.4779, 45.5867, 11.8201)
Luminance0.4558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4B642 #4250C4
analogous
#C47542 #C4B642 #91C442
triadic
#C4B642 #42C4B6 #B642C4
tetradic
#C4B642 #42C475 #4250C4 #C44291
square
#C4B642 #42C475 #4250C4 #C44291
split-complementary
#C4B642 #4291C4 #7542C4
monochromatic
#6A6321 #998E30 #C4B642 #D3C871 #E1DA9F

Accessibility & contrast

On white

2.08
#C4B642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#C4B642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4B642
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4B642#FFFFFF#000000##000000
##C4B6421.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B033
Deuteranopia (green-blind)
#CAB749
Tritanopia (blue-blind)
#D2AA9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c4b642;
/* rgb */ color: rgb(196, 182, 66);
/* oklch */ color: oklch(76.7% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#d9cb7c',
    500: '#c4b642',
    950: '#000000',
  },
}
SCSS
$custom: #c4b642;
$custom-light: #d9cb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4b642",
  "rgb": {
    "r": 196,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 53.538,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76667,
    "c": 0.13503,
    "h": 102.4
  },
  "luminance": 0.45585
}

Semantic roles & 50–950 ramp

primary
#C4B642
secondary
#949ACE
accent
#5BDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C4B642

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

Preview Lab → · Contrast checker → · Palette generator →

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