#C4A62B#C4A62B

#C4A62B is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.1% C 0.137 H 94.5°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#C4A62B
RGBrgb(196, 166, 43)
HSLhsl(48, 64%, 47%)
HSVhsv(48, 78%, 77%)
CMYKcmyk(0%, 15.3%, 78.1%, 23.1%)
CIE-LABlab(68.88, -1.33, 62.91)
CIE-LCHlch(68.88, 62.92, 91.21°)
OKLaboklab(73.14% -0.0107 0.1369)
OKLCHoklch(73.14% 0.137 94.5)
XYZxyz(36.8393, 39.1848, 7.9081)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A62B #2B49C4
analogous
#C4592B #C4A62B #96C42B
triadic
#C4A62B #2BC4A6 #A62BC4
tetradic
#C4A62B #2BC459 #2B49C4 #C42B96
square
#C4A62B #2BC459 #2B49C4 #C42B96
split-complementary
#C4A62B #2B96C4 #592BC4
monochromatic
#605115 #927B20 #C4A62B #D9BF53 #E4D285

Accessibility & contrast

On white

2.38
#C4A62B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#C4A62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A62B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A62B#FFFFFF#000000##000000
##C4A62B1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30F
Deuteranopia (green-blind)
#C0AC33
Tritanopia (blue-blind)
#D4988F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c4a62b;
/* rgb */ color: rgb(196, 166, 43);
/* oklch */ color: oklch(73.1% 0.137 94.5);
Tailwind
colors: {
  custom: {
    50: '#dac06f',
    500: '#c4a62b',
    950: '#000000',
  },
}
SCSS
$custom: #c4a62b;
$custom-light: #dac06f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a62b",
  "rgb": {
    "r": 196,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 48.235,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73139,
    "c": 0.13736,
    "h": 94.5
  },
  "luminance": 0.39183
}

Semantic roles & 50–950 ramp

primary
#C4A62B
secondary
#7D8DCE
accent
#61E741
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C4A62B

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

Preview Lab → · Contrast checker → · Palette generator →

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