#C3A838#C3A838

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

Color values

HEX#C3A838
RGBrgb(195, 168, 56)
HSLhsl(48, 55%, 49%)
HSVhsv(48, 71%, 76%)
CMYKcmyk(0%, 13.8%, 71.3%, 23.5%)
CIE-LABlab(69.39, -2.26, 58.59)
CIE-LCHlch(69.39, 58.63, 92.21°)
OKLaboklab(73.55% -0.0119 0.1304)
OKLCHoklch(73.55% 0.131 95.2)
XYZxyz(37.2240, 39.8949, 9.4804)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A838 #3853C3
analogous
#C36338 #C3A838 #99C338
triadic
#C3A838 #38C3A8 #A838C3
tetradic
#C3A838 #38C363 #3853C3 #C33899
square
#C3A838 #38C363 #3853C3 #C33899
split-complementary
#C3A838 #3899C3 #6338C3
monochromatic
#64561D #937F2A #C3A838 #D3BE65 #E1D295

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3A838#FFFFFF#000000##000000
##C3A8381.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)
#B9A527
Deuteranopia (green-blind)
#C0AD3E
Tritanopia (blue-blind)
#D39B92
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c3a838;
/* rgb */ color: rgb(195, 168, 56);
/* oklch */ color: oklch(73.5% 0.131 95.2);
Tailwind
colors: {
  custom: {
    50: '#d9c175',
    500: '#c3a838',
    950: '#000000',
  },
}
SCSS
$custom: #c3a838;
$custom-light: #d9c175;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a838",
  "rgb": {
    "r": 195,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 48.345,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73545,
    "c": 0.13089,
    "h": 95.2
  },
  "luminance": 0.39893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C3A838

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

Preview Lab → · Contrast checker → · Palette generator →

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