#C4A438#C4A438

#C4A438 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.8% C 0.128 H 92.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#C4A438
RGBrgb(196, 164, 56)
HSLhsl(46, 56%, 49%)
HSVhsv(46, 71%, 77%)
CMYKcmyk(0%, 16.3%, 71.4%, 23.1%)
CIE-LABlab(68.44, 0.31, 57.67)
CIE-LCHlch(68.44, 57.67, 89.70°)
OKLaboklab(72.81% -0.0046 0.1284)
OKLCHoklch(72.81% 0.128 92.1)
XYZxyz(36.7562, 38.5744, 9.2502)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4A438 #3858C4
analogous
#C45E38 #C4A438 #9EC438
triadic
#C4A438 #38C4A4 #A438C4
tetradic
#C4A438 #38C45E #3858C4 #C4389E
square
#C4A438 #38C45E #3858C4 #C4389E
split-complementary
#C4A438 #389EC4 #5E38C4
monochromatic
#65541D #947C2A #C4A438 #D3BA66 #E1D096

Accessibility & contrast

On white

2.41
#C4A438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#C4A438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4A438
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4A438#FFFFFF#000000##000000
##C4A4381.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#D4978E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c4a438;
/* rgb */ color: rgb(196, 164, 56);
/* oklch */ color: oklch(72.8% 0.128 92.1);
Tailwind
colors: {
  custom: {
    50: '#dabe75',
    500: '#c4a438',
    950: '#000000',
  },
}
SCSS
$custom: #c4a438;
$custom-light: #dabe75;
$custom-dark: #000000;
JSON
{
  "hex": "#c4a438",
  "rgb": {
    "r": 196,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 46.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72814,
    "c": 0.12844,
    "h": 92.1
  },
  "luminance": 0.38572
}

Semantic roles & 50–950 ramp

primary
#C4A438
secondary
#8C9ACC
accent
#6BDF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4A438

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

Preview Lab → · Contrast checker → · Palette generator →

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