#C3A42E#C3A42E

#C3A42E is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.6% C 0.134 H 93.5°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#C3A42E
RGBrgb(195, 164, 46)
HSLhsl(48, 62%, 47%)
HSVhsv(48, 76%, 76%)
CMYKcmyk(0%, 15.9%, 76.4%, 23.5%)
CIE-LABlab(68.28, -0.59, 61.28)
CIE-LCHlch(68.28, 61.28, 90.55°)
OKLaboklab(72.64% -0.0082 0.1341)
OKLCHoklch(72.64% 0.134 93.5)
XYZxyz(36.2763, 38.3524, 8.0763)
Luminance0.3835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A42E #2E4DC3
analogous
#C35A2E #C3A42E #97C32E
triadic
#C3A42E #2EC3A4 #A42EC3
tetradic
#C3A42E #2EC35A #2E4DC3 #C32E97
square
#C3A42E #2EC35A #2E4DC3 #C32E97
split-complementary
#C3A42E #2E97C3 #5A2EC3
monochromatic
#605117 #917A22 #C3A42E #D7BD57 #E3D088

Accessibility & contrast

On white

2.42
#C3A42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#C3A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A42E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A42E#FFFFFF#000000##000000
##C3A42E1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A117
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#D3968D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c3a42e;
/* rgb */ color: rgb(195, 164, 46);
/* oklch */ color: oklch(72.6% 0.134 93.5);
Tailwind
colors: {
  custom: {
    50: '#d9be70',
    500: '#c3a42e',
    950: '#000000',
  },
}
SCSS
$custom: #c3a42e;
$custom-light: #d9be70;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a42e",
  "rgb": {
    "r": 195,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 47.517,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72643,
    "c": 0.13437,
    "h": 93.5
  },
  "luminance": 0.3835
}

Semantic roles & 50–950 ramp

primary
#C3A42E
secondary
#8090CD
accent
#65E543
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C3A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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