#C3AF36#C3AF36

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

Color values

HEX#C3AF36
RGBrgb(195, 175, 54)
HSLhsl(51, 57%, 49%)
HSVhsv(51, 72%, 76%)
CMYKcmyk(0%, 10.3%, 72.3%, 23.5%)
CIE-LABlab(71.23, -6.05, 61.17)
CIE-LCHlch(71.23, 61.47, 95.65°)
OKLaboklab(75% -0.0229 0.1354)
OKLCHoklch(75% 0.137 99.6)
XYZxyz(38.5033, 42.5302, 9.6704)
Luminance0.4253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AF36 #364AC3
analogous
#C36836 #C3AF36 #91C336
triadic
#C3AF36 #36C3AF #AF36C3
tetradic
#C3AF36 #36C368 #364AC3 #C33691
square
#C3AF36 #36C368 #364AC3 #C33691
split-complementary
#C3AF36 #3691C3 #6836C3
monochromatic
#63591B #938429 #C3AF36 #D4C463 #E1D692

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3AF36#FFFFFF#000000##000000
##C3AF361.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)
#C0AA22
Deuteranopia (green-blind)
#C5B23E
Tritanopia (blue-blind)
#D2A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c3af36;
/* rgb */ color: rgb(195, 175, 54);
/* oklch */ color: oklch(75.0% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#d9c675',
    500: '#c3af36',
    950: '#000000',
  },
}
SCSS
$custom: #c3af36;
$custom-light: #d9c675;
$custom-dark: #000000;
JSON
{
  "hex": "#c3af36",
  "rgb": {
    "r": 195,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 51.489,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74998,
    "c": 0.13737,
    "h": 99.6
  },
  "luminance": 0.42528
}

Semantic roles & 50–950 ramp

primary
#C3AF36
secondary
#8992CC
accent
#5DE048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C3AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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