#C4A230#C4A230

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

Color values

HEX#C4A230
RGBrgb(196, 162, 48)
HSLhsl(46, 61%, 48%)
HSVhsv(46, 76%, 77%)
CMYKcmyk(0%, 17.3%, 75.5%, 23.1%)
CIE-LABlab(67.87, 1.01, 60.20)
CIE-LCHlch(67.87, 60.21, 89.04°)
OKLaboklab(72.34% -0.0035 0.1322)
OKLCHoklch(72.34% 0.132 91.5)
XYZxyz(36.2208, 37.7920, 8.1825)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A230 #3052C4
analogous
#C45830 #C4A230 #9CC430
triadic
#C4A230 #30C4A2 #A230C4
tetradic
#C4A230 #30C458 #3052C4 #C4309C
square
#C4A230 #30C458 #3052C4 #C4309C
split-complementary
#C4A230 #309CC4 #5830C4
monochromatic
#625118 #937924 #C4A230 #D7BA5A #E3CF8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4A230#FFFFFF#000000##000000
##C4A2301.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)
#B4A01C
Deuteranopia (green-blind)
#BDA937
Tritanopia (blue-blind)
#D4948C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c4a230;
/* rgb */ color: rgb(196, 162, 48);
/* oklch */ color: oklch(72.3% 0.132 91.5);
Tailwind
colors: {
  custom: {
    50: '#dabd71',
    500: '#c4a230',
    950: '#000000',
  },
}
SCSS
$custom: #c4a230;
$custom-light: #dabd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a230",
  "rgb": {
    "r": 196,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 46.216,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72344,
    "c": 0.13223,
    "h": 91.5
  },
  "luminance": 0.3779
}

Semantic roles & 50–950 ramp

primary
#C4A230
secondary
#8394CD
accent
#69E444
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#151208
muted
#84817B

Preview Lab

Preview with #C4A230

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

Preview Lab → · Contrast checker → · Palette generator →

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