#C3A738#C3A738

#C3A738 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.3% C 0.130 H 94.6°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#C3A738
RGBrgb(195, 167, 56)
HSLhsl(48, 55%, 49%)
HSVhsv(48, 71%, 76%)
CMYKcmyk(0%, 14.4%, 71.3%, 23.5%)
CIE-LABlab(69.13, -1.73, 58.33)
CIE-LCHlch(69.13, 58.35, 91.70°)
OKLaboklab(73.34% -0.0104 0.1298)
OKLCHoklch(73.34% 0.13 94.6)
XYZxyz(37.0401, 39.5271, 9.4191)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A738 #3854C3
analogous
#C36238 #C3A738 #99C338
triadic
#C3A738 #38C3A7 #A738C3
tetradic
#C3A738 #38C362 #3854C3 #C33899
square
#C3A738 #38C362 #3854C3 #C33899
split-complementary
#C3A738 #3899C3 #6238C3
monochromatic
#64561D #937E2A #C3A738 #D3BD65 #E1D195

Accessibility & contrast

On white

2.36
#C3A738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#C3A738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A738
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A738#FFFFFF#000000##000000
##C3A7381.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A428
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#D39A91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c3a738;
/* rgb */ color: rgb(195, 167, 56);
/* oklch */ color: oklch(73.3% 0.130 94.6);
Tailwind
colors: {
  custom: {
    50: '#d9c075',
    500: '#c3a738',
    950: '#000000',
  },
}
SCSS
$custom: #c3a738;
$custom-light: #d9c075;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a738",
  "rgb": {
    "r": 195,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 47.914,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73337,
    "c": 0.1302,
    "h": 94.6
  },
  "luminance": 0.39525
}

Semantic roles & 50–950 ramp

primary
#C3A738
secondary
#8B98CC
accent
#67DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3A738

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

Preview Lab → · Contrast checker → · Palette generator →

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