#C3A540#C3A540

#C3A540 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 73.0% C 0.123 H 92.4°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#C3A540
RGBrgb(195, 165, 64)
HSLhsl(46, 52%, 51%)
HSVhsv(46, 67%, 76%)
CMYKcmyk(0%, 15.4%, 67.2%, 23.5%)
CIE-LABlab(68.67, -0.23, 54.52)
CIE-LCHlch(68.67, 54.52, 90.24°)
OKLaboklab(72.99% -0.0051 0.1231)
OKLCHoklch(72.99% 0.123 92.4)
XYZxyz(36.8881, 38.8846, 10.4120)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A540 #405EC3
analogous
#C36440 #C3A540 #9FC340
triadic
#C3A540 #40C3A5 #A540C3
tetradic
#C3A540 #40C364 #405EC3 #C3409F
square
#C3A540 #40C364 #405EC3 #C3409F
split-complementary
#C3A540 #409FC3 #6440C3
monochromatic
#685821 #977F2F #C3A540 #D2BB6F #E0D19D

Accessibility & contrast

On white

2.39
#C3A540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#C3A540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A540
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A540#FFFFFF#000000##000000
##C3A5401.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A233
Deuteranopia (green-blind)
#BEAB45
Tritanopia (blue-blind)
#D29890
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c3a540;
/* rgb */ color: rgb(195, 165, 64);
/* oklch */ color: oklch(73.0% 0.123 92.4);
Tailwind
colors: {
  custom: {
    50: '#d9bf7a',
    500: '#c3a540',
    950: '#000000',
  },
}
SCSS
$custom: #c3a540;
$custom-light: #d9bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a540",
  "rgb": {
    "r": 195,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 46.26,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7299,
    "c": 0.12325,
    "h": 92.4
  },
  "luminance": 0.38883
}

Semantic roles & 50–950 ramp

primary
#C3A540
secondary
#92A0CC
accent
#6DDC4C
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C3A540

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

Preview Lab → · Contrast checker → · Palette generator →

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