#C4AE38#C4AE38

#C4AE38 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.9% C 0.135 H 98.4°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#C4AE38
RGBrgb(196, 174, 56)
HSLhsl(51, 56%, 49%)
HSVhsv(51, 71%, 77%)
CMYKcmyk(0%, 11.2%, 71.4%, 23.1%)
CIE-LABlab(71.07, -4.99, 60.28)
CIE-LCHlch(71.07, 60.49, 94.74°)
OKLaboklab(74.9% -0.0197 0.1339)
OKLCHoklch(74.9% 0.135 98.4)
XYZxyz(38.6167, 42.2953, 9.8704)
Luminance0.4229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AE38 #384EC4
analogous
#C46838 #C4AE38 #94C438
triadic
#C4AE38 #38C4AE #AE38C4
tetradic
#C4AE38 #38C468 #384EC4 #C43894
square
#C4AE38 #38C468 #384EC4 #C43894
split-complementary
#C4AE38 #3894C4 #6838C4
monochromatic
#65591D #94842A #C4AE38 #D3C266 #E1D596

Accessibility & contrast

On white

2.22
#C4AE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#C4AE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AE38
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AE38#FFFFFF#000000##000000
##C4AE381.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA26
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#D3A197
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c4ae38;
/* rgb */ color: rgb(196, 174, 56);
/* oklch */ color: oklch(74.9% 0.135 98.4);
Tailwind
colors: {
  custom: {
    50: '#dac576',
    500: '#c4ae38',
    950: '#000000',
  },
}
SCSS
$custom: #c4ae38;
$custom-light: #dac576;
$custom-dark: #000000;
JSON
{
  "hex": "#c4ae38",
  "rgb": {
    "r": 196,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 50.571,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74896,
    "c": 0.13535,
    "h": 98.4
  },
  "luminance": 0.42293
}

Semantic roles & 50–950 ramp

primary
#C4AE38
secondary
#8C96CC
accent
#60DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C4AE38

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

Preview Lab → · Contrast checker → · Palette generator →

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