#C4A22F#C4A22F

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

Color values

HEX#C4A22F
RGBrgb(196, 162, 47)
HSLhsl(46, 61%, 48%)
HSVhsv(46, 76%, 77%)
CMYKcmyk(0%, 17.3%, 76%, 23.1%)
CIE-LABlab(67.86, 0.96, 60.56)
CIE-LCHlch(67.86, 60.57, 89.09°)
OKLaboklab(72.34% -0.0037 0.1328)
OKLCHoklch(72.34% 0.133 91.6)
XYZxyz(36.2004, 37.7839, 8.0751)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A22F #2F51C4
analogous
#C4582F #C4A22F #9BC42F
triadic
#C4A22F #2FC4A2 #A22FC4
tetradic
#C4A22F #2FC458 #2F51C4 #C42F9B
square
#C4A22F #2FC458 #2F51C4 #C42F9B
split-complementary
#C4A22F #2F9BC4 #582FC4
monochromatic
#615017 #937923 #C4A22F #D7BA59 #E3CF8A

Accessibility & contrast

On white

2.45
#C4A22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#C4A22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A22F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A22F#FFFFFF#000000##000000
##C4A22F1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01A
Deuteranopia (green-blind)
#BDA936
Tritanopia (blue-blind)
#D4948C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c4a22f;
/* rgb */ color: rgb(196, 162, 47);
/* oklch */ color: oklch(72.3% 0.133 91.6);
Tailwind
colors: {
  custom: {
    50: '#dabd70',
    500: '#c4a22f',
    950: '#000000',
  },
}
SCSS
$custom: #c4a22f;
$custom-light: #dabd70;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a22f",
  "rgb": {
    "r": 196,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 46.309,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72337,
    "c": 0.1328,
    "h": 91.6
  },
  "luminance": 0.37782
}

Semantic roles & 50–950 ramp

primary
#C4A22F
secondary
#8293CD
accent
#68E443
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C4A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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