#C3AF38#C3AF38

#C3AF38 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.136 H 99.5°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#C3AF38
RGBrgb(195, 175, 56)
HSLhsl(51, 55%, 49%)
HSVhsv(51, 71%, 76%)
CMYKcmyk(0%, 10.3%, 71.3%, 23.5%)
CIE-LABlab(71.25, -5.95, 60.43)
CIE-LCHlch(71.25, 60.72, 95.63°)
OKLaboklab(75.01% -0.0224 0.1342)
OKLCHoklch(75.01% 0.136 99.5)
XYZxyz(38.5513, 42.5494, 9.9228)
Luminance0.4255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AF38 #384CC3
analogous
#C36A38 #C3AF38 #92C338
triadic
#C3AF38 #38C3AF #AF38C3
tetradic
#C3AF38 #38C36A #384CC3 #C33892
square
#C3AF38 #38C36A #384CC3 #C33892
split-complementary
#C3AF38 #3892C3 #6A38C3
monochromatic
#645A1D #93842A #C3AF38 #D3C365 #E1D695

Accessibility & contrast

On white

2.21
#C3AF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#C3AF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AF38
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AF38#FFFFFF#000000##000000
##C3AF381.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA25
Deuteranopia (green-blind)
#C5B23F
Tritanopia (blue-blind)
#D2A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c3af38;
/* rgb */ color: rgb(195, 175, 56);
/* oklch */ color: oklch(75.0% 0.136 99.5);
Tailwind
colors: {
  custom: {
    50: '#d9c676',
    500: '#c3af38',
    950: '#000000',
  },
}
SCSS
$custom: #c3af38;
$custom-light: #d9c676;
$custom-dark: #000000;
JSON
{
  "hex": "#c3af38",
  "rgb": {
    "r": 195,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 51.367,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75013,
    "c": 0.13609,
    "h": 99.5
  },
  "luminance": 0.42548
}

Semantic roles & 50–950 ramp

primary
#C3AF38
secondary
#8B94CC
accent
#5FDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C3AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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