#C3AF3F#C3AF3F

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

Color values

HEX#C3AF3F
RGBrgb(195, 175, 63)
HSLhsl(51, 52%, 51%)
HSVhsv(51, 68%, 76%)
CMYKcmyk(0%, 10.3%, 67.7%, 23.5%)
CIE-LABlab(71.30, -5.58, 57.68)
CIE-LCHlch(71.30, 57.95, 95.53°)
OKLaboklab(75.07% -0.0206 0.1297)
OKLCHoklch(75.07% 0.131 99)
XYZxyz(38.7346, 42.6227, 10.8884)
Luminance0.4262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AF3F #3F53C3
analogous
#C36D3F #C3AF3F #95C33F
triadic
#C3AF3F #3FC3AF #AF3FC3
tetradic
#C3AF3F #3FC36D #3F53C3 #C33F95
square
#C3AF3F #3FC36D #3F53C3 #C33F95
split-complementary
#C3AF3F #3F95C3 #6D3FC3
monochromatic
#675D20 #96862F #C3AF3F #D2C26E #E0D69C

Accessibility & contrast

On white

2.20
#C3AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3AF3F#FFFFFF#000000##000000
##C3AF3F1.002.209.529.52
#FFFFFF2.201.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3af3f;
/* rgb */ color: rgb(195, 175, 63);
/* oklch */ color: oklch(75.1% 0.131 99.0);
Tailwind
colors: {
  custom: {
    50: '#d9c67a',
    500: '#c3af3f',
    950: '#000000',
  },
}
SCSS
$custom: #c3af3f;
$custom-light: #d9c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#c3af3f",
  "rgb": {
    "r": 195,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 50.909,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75068,
    "c": 0.13128,
    "h": 99
  },
  "luminance": 0.42621
}

Semantic roles & 50–950 ramp

primary
#C3AF3F
secondary
#929ACC
accent
#62DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C3AF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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