#C3A538#C3A538

#C3A538 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.9% C 0.129 H 93.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#C3A538
RGBrgb(195, 165, 56)
HSLhsl(47, 55%, 49%)
HSVhsv(47, 71%, 76%)
CMYKcmyk(0%, 15.4%, 71.3%, 23.5%)
CIE-LABlab(68.61, -0.67, 57.80)
CIE-LCHlch(68.61, 57.80, 90.66°)
OKLaboklab(72.92% -0.0073 0.1287)
OKLCHoklch(72.92% 0.129 93.3)
XYZxyz(36.6766, 38.8000, 9.2979)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A538 #3856C3
analogous
#C36038 #C3A538 #9CC338
triadic
#C3A538 #38C3A5 #A538C3
tetradic
#C3A538 #38C360 #3856C3 #C3389C
square
#C3A538 #38C360 #3856C3 #C3389C
split-complementary
#C3A538 #389CC3 #6038C3
monochromatic
#64551D #937D2A #C3A538 #D3BB65 #E1D095

Accessibility & contrast

On white

2.40
#C3A538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#C3A538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A538
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A538#FFFFFF#000000##000000
##C3A5381.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A228
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#D3988F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c3a538;
/* rgb */ color: rgb(195, 165, 56);
/* oklch */ color: oklch(72.9% 0.129 93.3);
Tailwind
colors: {
  custom: {
    50: '#d9bf75',
    500: '#c3a538',
    950: '#000000',
  },
}
SCSS
$custom: #c3a538;
$custom-light: #d9bf75;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a538",
  "rgb": {
    "r": 195,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 47.05,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72921,
    "c": 0.12889,
    "h": 93.3
  },
  "luminance": 0.38798
}

Semantic roles & 50–950 ramp

primary
#C3A538
secondary
#8B99CC
accent
#69DF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3A538

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

Preview Lab → · Contrast checker → · Palette generator →

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