#C3A338#C3A338

#C3A338 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.5% C 0.128 H 91.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#C3A338
RGBrgb(195, 163, 56)
HSLhsl(46, 55%, 49%)
HSVhsv(46, 71%, 76%)
CMYKcmyk(0%, 16.4%, 71.3%, 23.5%)
CIE-LABlab(68.08, 0.40, 57.28)
CIE-LCHlch(68.08, 57.28, 89.60°)
OKLaboklab(72.51% -0.0043 0.1276)
OKLCHoklch(72.51% 0.128 91.9)
XYZxyz(36.3186, 38.0841, 9.1786)
Luminance0.3808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A338 #3858C3
analogous
#C35E38 #C3A338 #9EC338
triadic
#C3A338 #38C3A3 #A338C3
tetradic
#C3A338 #38C35E #3858C3 #C3389E
square
#C3A338 #38C35E #3858C3 #C3389E
split-complementary
#C3A338 #389EC3 #5E38C3
monochromatic
#64541D #937B2A #C3A338 #D3BA65 #E1CF95

Accessibility & contrast

On white

2.44
#C3A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#C3A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A338
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A338#FFFFFF#000000##000000
##C3A3381.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3a338;
/* rgb */ color: rgb(195, 163, 56);
/* oklch */ color: oklch(72.5% 0.128 91.9);
Tailwind
colors: {
  custom: {
    50: '#d9bd75',
    500: '#c3a338',
    950: '#000000',
  },
}
SCSS
$custom: #c3a338;
$custom-light: #d9bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a338",
  "rgb": {
    "r": 195,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 46.187,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72508,
    "c": 0.12764,
    "h": 91.9
  },
  "luminance": 0.38082
}

Semantic roles & 50–950 ramp

primary
#C3A338
secondary
#8B9ACC
accent
#6CDF49
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3A338

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

Preview Lab → · Contrast checker → · Palette generator →

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