#C4AA3E#C4AA3E

#C4AA3E is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.1% C 0.128 H 95.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C4AA3E
RGBrgb(196, 170, 62)
HSLhsl(48, 53%, 51%)
HSVhsv(48, 68%, 77%)
CMYKcmyk(0%, 13.3%, 68.4%, 23.1%)
CIE-LABlab(70.06, -2.57, 56.85)
CIE-LCHlch(70.06, 56.91, 92.59°)
OKLaboklab(74.11% -0.0121 0.1277)
OKLCHoklch(74.11% 0.128 95.4)
XYZxyz(38.0110, 40.8350, 10.4363)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4AA3E #3E58C4
analogous
#C4673E #C4AA3E #9BC43E
triadic
#C4AA3E #3EC4AA #AA3EC4
tetradic
#C4AA3E #3EC467 #3E58C4 #C43E9B
square
#C4AA3E #3EC467 #3E58C4 #C43E9B
split-complementary
#C4AA3E #3E9BC4 #673EC4
monochromatic
#685A20 #97822E #C4AA3E #D2BF6D #E1D39C

Accessibility & contrast

On white

2.29
#C4AA3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#C4AA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4AA3E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4AA3E#FFFFFF#000000##000000
##C4AA3E1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA730
Deuteranopia (green-blind)
#C2AF44
Tritanopia (blue-blind)
#D39D94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c4aa3e;
/* rgb */ color: rgb(196, 170, 62);
/* oklch */ color: oklch(74.1% 0.128 95.4);
Tailwind
colors: {
  custom: {
    50: '#d9c279',
    500: '#c4aa3e',
    950: '#000000',
  },
}
SCSS
$custom: #c4aa3e;
$custom-light: #d9c279;
$custom-dark: #000000;
JSON
{
  "hex": "#c4aa3e",
  "rgb": {
    "r": 196,
    "g": 170,
    "b": 62
  },
  "hsl": {
    "h": 48.358,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74107,
    "c": 0.12828,
    "h": 95.4
  },
  "luminance": 0.40833
}

Semantic roles & 50–950 ramp

primary
#C4AA3E
secondary
#919DCD
accent
#67DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C4AA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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