#C4A22B#C4A22B

#C4A22B is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.3% C 0.135 H 91.9°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#C4A22B
RGBrgb(196, 162, 43)
HSLhsl(47, 64%, 47%)
HSVhsv(47, 78%, 77%)
CMYKcmyk(0%, 17.3%, 78.1%, 23.1%)
CIE-LABlab(67.84, 0.80, 61.95)
CIE-LCHlch(67.84, 61.96, 89.26°)
OKLaboklab(72.31% -0.0046 0.1349)
OKLCHoklch(72.31% 0.135 91.9)
XYZxyz(36.1234, 37.7531, 7.6695)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A22B #2B4DC4
analogous
#C4562B #C4A22B #9AC42B
triadic
#C4A22B #2BC4A2 #A22BC4
tetradic
#C4A22B #2BC456 #2B4DC4 #C42B9A
square
#C4A22B #2BC456 #2B4DC4 #C42B9A
split-complementary
#C4A22B #2B9AC4 #562BC4
monochromatic
#604F15 #927920 #C4A22B #D9BB53 #E4CF85

Accessibility & contrast

On white

2.46
#C4A22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#C4A22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A22B
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A22B#FFFFFF#000000##000000
##C4A22B1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A012
Deuteranopia (green-blind)
#BDA932
Tritanopia (blue-blind)
#D4948B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c4a22b;
/* rgb */ color: rgb(196, 162, 43);
/* oklch */ color: oklch(72.3% 0.135 91.9);
Tailwind
colors: {
  custom: {
    50: '#dabd6e',
    500: '#c4a22b',
    950: '#000000',
  },
}
SCSS
$custom: #c4a22b;
$custom-light: #dabd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a22b",
  "rgb": {
    "r": 196,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 46.667,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72312,
    "c": 0.13498,
    "h": 91.9
  },
  "luminance": 0.37751
}

Semantic roles & 50–950 ramp

primary
#C4A22B
secondary
#7D8FCE
accent
#66E741
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161208
muted
#84817B

Preview Lab

Preview with #C4A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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