#C3AA38#C3AA38

#C3AA38 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.0% C 0.132 H 96.5°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#C3AA38
RGBrgb(195, 170, 56)
HSLhsl(49, 55%, 49%)
HSVhsv(49, 71%, 76%)
CMYKcmyk(0%, 12.8%, 71.3%, 23.5%)
CIE-LABlab(69.92, -3.32, 59.11)
CIE-LCHlch(69.92, 59.21, 93.22°)
OKLaboklab(73.96% -0.0149 0.1315)
OKLCHoklch(73.96% 0.132 96.5)
XYZxyz(37.5961, 40.6390, 9.6044)
Luminance0.4064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AA38 #3851C3
analogous
#C36538 #C3AA38 #96C338
triadic
#C3AA38 #38C3AA #AA38C3
tetradic
#C3AA38 #38C365 #3851C3 #C33896
square
#C3AA38 #38C365 #3851C3 #C33896
split-complementary
#C3AA38 #3896C3 #6538C3
monochromatic
#64571D #93812A #C3AA38 #D3BF65 #E1D395

Accessibility & contrast

On white

2.30
#C3AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#C3AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AA38
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AA38#FFFFFF#000000##000000
##C3AA381.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA627
Deuteranopia (green-blind)
#C2AE3F
Tritanopia (blue-blind)
#D29D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c3aa38;
/* rgb */ color: rgb(195, 170, 56);
/* oklch */ color: oklch(74.0% 0.132 96.5);
Tailwind
colors: {
  custom: {
    50: '#d9c276',
    500: '#c3aa38',
    950: '#000000',
  },
}
SCSS
$custom: #c3aa38;
$custom-light: #d9c276;
$custom-dark: #000000;
JSON
{
  "hex": "#c3aa38",
  "rgb": {
    "r": 195,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 49.209,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73962,
    "c": 0.1323,
    "h": 96.5
  },
  "luminance": 0.40637
}

Semantic roles & 50–950 ramp

primary
#C3AA38
secondary
#8B97CC
accent
#64DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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