#C3AF3E#C3AF3E

#C3AF3E is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.132 H 99.1°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#C3AF3E
RGBrgb(195, 175, 62)
HSLhsl(51, 53%, 50%)
HSVhsv(51, 68%, 76%)
CMYKcmyk(0%, 10.3%, 68.2%, 23.5%)
CIE-LABlab(71.29, -5.64, 58.09)
CIE-LCHlch(71.29, 58.36, 95.55°)
OKLaboklab(75.06% -0.0208 0.1303)
OKLCHoklch(75.06% 0.132 99.1)
XYZxyz(38.7069, 42.6117, 10.7425)
Luminance0.4261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AF3E #3E52C3
analogous
#C36C3E #C3AF3E #95C33E
triadic
#C3AF3E #3EC3AF #AF3EC3
tetradic
#C3AF3E #3EC36C #3E52C3 #C33E95
square
#C3AF3E #3EC36C #3E52C3 #C33E95
split-complementary
#C3AF3E #3E95C3 #6C3EC3
monochromatic
#675C20 #95862E #C3AF3E #D2C26D #E0D69B

Accessibility & contrast

On white

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

On black

9.52
#C3AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AF3E
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AF3E#FFFFFF#000000##000000
##C3AF3E1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA2F
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#D2A298
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c3af3e;
/* rgb */ color: rgb(195, 175, 62);
/* oklch */ color: oklch(75.1% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#d9c679',
    500: '#c3af3e',
    950: '#000000',
  },
}
SCSS
$custom: #c3af3e;
$custom-light: #d9c679;
$custom-dark: #000000;
JSON
{
  "hex": "#c3af3e",
  "rgb": {
    "r": 195,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 50.977,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7506,
    "c": 0.132,
    "h": 99.1
  },
  "luminance": 0.4261
}

Semantic roles & 50–950 ramp

primary
#C3AF3E
secondary
#919ACC
accent
#61DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C3AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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