#C3A837#C3A837

#C3A837 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.5% C 0.132 H 95.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#C3A837
RGBrgb(195, 168, 55)
HSLhsl(48, 56%, 49%)
HSVhsv(48, 72%, 76%)
CMYKcmyk(0%, 13.8%, 71.8%, 23.5%)
CIE-LABlab(69.39, -2.31, 58.97)
CIE-LCHlch(69.39, 59.02, 92.24°)
OKLaboklab(73.54% -0.0121 0.131)
OKLCHoklch(73.54% 0.132 95.3)
XYZxyz(37.1998, 39.8852, 9.3529)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A837 #3752C3
analogous
#C36237 #C3A837 #98C337
triadic
#C3A837 #37C3A8 #A837C3
tetradic
#C3A837 #37C362 #3752C3 #C33798
square
#C3A837 #37C362 #3752C3 #C33798
split-complementary
#C3A837 #3798C3 #6237C3
monochromatic
#64561C #937F2A #C3A837 #D3BE64 #E1D294

Accessibility & contrast

On white

2.34
#C3A837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#C3A837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A837
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A837#FFFFFF#000000##000000
##C3A8371.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A526
Deuteranopia (green-blind)
#C0AD3D
Tritanopia (blue-blind)
#D39B91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c3a837;
/* rgb */ color: rgb(195, 168, 55);
/* oklch */ color: oklch(73.5% 0.132 95.3);
Tailwind
colors: {
  custom: {
    50: '#d9c175',
    500: '#c3a837',
    950: '#000000',
  },
}
SCSS
$custom: #c3a837;
$custom-light: #d9c175;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a837",
  "rgb": {
    "r": 195,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 48.429,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73537,
    "c": 0.13154,
    "h": 95.3
  },
  "luminance": 0.39883
}

Semantic roles & 50–950 ramp

primary
#C3A837
secondary
#8A97CC
accent
#66DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3A837

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

Preview Lab → · Contrast checker → · Palette generator →

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