#C3AA40#C3AA40

#C3AA40 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.0% C 0.127 H 95.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#C3AA40
RGBrgb(195, 170, 64)
HSLhsl(49, 52%, 51%)
HSVhsv(49, 67%, 76%)
CMYKcmyk(0%, 12.8%, 67.2%, 23.5%)
CIE-LABlab(69.98, -2.89, 55.90)
CIE-LCHlch(69.98, 55.97, 92.96°)
OKLaboklab(74.03% -0.0128 0.1261)
OKLCHoklch(74.03% 0.127 95.8)
XYZxyz(37.8076, 40.7236, 10.7185)
Luminance0.4072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AA40 #4059C3
analogous
#C36840 #C3AA40 #9AC340
triadic
#C3AA40 #40C3AA #AA40C3
tetradic
#C3AA40 #40C368 #4059C3 #C3409A
square
#C3AA40 #40C368 #4059C3 #C3409A
split-complementary
#C3AA40 #409AC3 #6840C3
monochromatic
#685A21 #97832F #C3AA40 #D2BF6F #E0D39D

Accessibility & contrast

On white

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

On black

9.14
#C3AA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AA40
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AA40#FFFFFF#000000##000000
##C3AA401.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA632
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#D29D94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c3aa40;
/* rgb */ color: rgb(195, 170, 64);
/* oklch */ color: oklch(74.0% 0.127 95.8);
Tailwind
colors: {
  custom: {
    50: '#d9c37a',
    500: '#c3aa40',
    950: '#000000',
  },
}
SCSS
$custom: #c3aa40;
$custom-light: #d9c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c3aa40",
  "rgb": {
    "r": 195,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 48.55,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74028,
    "c": 0.1267,
    "h": 95.8
  },
  "luminance": 0.40722
}

Semantic roles & 50–950 ramp

primary
#C3AA40
secondary
#929DCC
accent
#68DC4C
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C3AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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