#C3AC38#C3AC38

#C3AC38 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.4% C 0.134 H 97.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#C3AC38
RGBrgb(195, 172, 56)
HSLhsl(50, 55%, 49%)
HSVhsv(50, 71%, 76%)
CMYKcmyk(0%, 11.8%, 71.3%, 23.5%)
CIE-LABlab(70.45, -4.38, 59.64)
CIE-LCHlch(70.45, 59.80, 94.20°)
OKLaboklab(74.38% -0.0179 0.1326)
OKLCHoklch(74.38% 0.134 97.7)
XYZxyz(37.9739, 41.3946, 9.7304)
Luminance0.4139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AC38 #384FC3
analogous
#C36738 #C3AC38 #95C338
triadic
#C3AC38 #38C3AC #AC38C3
tetradic
#C3AC38 #38C367 #384FC3 #C33895
square
#C3AC38 #38C367 #384FC3 #C33895
split-complementary
#C3AC38 #3895C3 #6738C3
monochromatic
#64581D #93822A #C3AC38 #D3C165 #E1D495

Accessibility & contrast

On white

2.26
#C3AC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#C3AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AC38
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AC38#FFFFFF#000000##000000
##C3AC381.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#D29F95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c3ac38;
/* rgb */ color: rgb(195, 172, 56);
/* oklch */ color: oklch(74.4% 0.134 97.7);
Tailwind
colors: {
  custom: {
    50: '#d9c476',
    500: '#c3ac38',
    950: '#000000',
  },
}
SCSS
$custom: #c3ac38;
$custom-light: #d9c476;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ac38",
  "rgb": {
    "r": 195,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 50.072,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74381,
    "c": 0.13378,
    "h": 97.7
  },
  "luminance": 0.41393
}

Semantic roles & 50–950 ramp

primary
#C3AC38
secondary
#8B96CC
accent
#62DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C3AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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