#C4A225#C4A225

#C4A225 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.3% C 0.138 H 92.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#C4A225
RGBrgb(196, 162, 37)
HSLhsl(47, 68%, 46%)
HSVhsv(47, 81%, 77%)
CMYKcmyk(0%, 17.3%, 81.1%, 23.1%)
CIE-LABlab(67.81, 0.59, 63.88)
CIE-LCHlch(67.81, 63.88, 89.47°)
OKLaboklab(72.28% -0.0057 0.1378)
OKLCHoklch(72.28% 0.138 92.4)
XYZxyz(36.0213, 37.7122, 7.1318)
Luminance0.3771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A225 #2547C4
analogous
#C45325 #C4A225 #96C425
triadic
#C4A225 #25C4A2 #A225C4
tetradic
#C4A225 #25C453 #2547C4 #C42596
square
#C4A225 #25C453 #2547C4 #C42596
split-complementary
#C4A225 #2596C4 #5325C4
monochromatic
#5D4D12 #91771B #C4A225 #DDBD49 #E6D07D

Accessibility & contrast

On white

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

On black

8.54
#C4A225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A225
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A225#FFFFFF#000000##000000
##C4A2251.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#BDA92E
Tritanopia (blue-blind)
#D5948B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c4a225;
/* rgb */ color: rgb(196, 162, 37);
/* oklch */ color: oklch(72.3% 0.138 92.4);
Tailwind
colors: {
  custom: {
    50: '#dbbd6b',
    500: '#c4a225',
    950: '#000000',
  },
}
SCSS
$custom: #c4a225;
$custom-light: #dbbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a225",
  "rgb": {
    "r": 196,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 47.17,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72278,
    "c": 0.13791,
    "h": 92.4
  },
  "luminance": 0.3771
}

Semantic roles & 50–950 ramp

primary
#C4A225
secondary
#7689CF
accent
#62EB3D
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #C4A225

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

Preview Lab → · Contrast checker → · Palette generator →

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