#C3AF45#C3AF45

#C3AF45 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.1% C 0.127 H 98.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#C3AF45
RGBrgb(195, 175, 69)
HSLhsl(50, 51%, 52%)
HSVhsv(50, 65%, 76%)
CMYKcmyk(0%, 10.3%, 64.6%, 23.5%)
CIE-LABlab(71.35, -5.23, 55.19)
CIE-LCHlch(71.35, 55.44, 95.41°)
OKLaboklab(75.12% -0.0189 0.1254)
OKLCHoklch(75.12% 0.127 98.6)
XYZxyz(38.9115, 42.6935, 11.8201)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AF45 #4559C3
analogous
#C37045 #C3AF45 #98C345
triadic
#C3AF45 #45C3AF #AF45C3
tetradic
#C3AF45 #45C370 #4559C3 #C34598
square
#C3AF45 #45C370 #4559C3 #C34598
split-complementary
#C3AF45 #4598C3 #7045C3
monochromatic
#6B6023 #998931 #C3AF45 #D2C373 #E1D7A2

Accessibility & contrast

On white

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

On black

9.54
#C3AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3AF45
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3AF45#FFFFFF#000000##000000
##C3AF451.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB38
Deuteranopia (green-blind)
#C5B24B
Tritanopia (blue-blind)
#D2A399
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c3af45;
/* rgb */ color: rgb(195, 175, 69);
/* oklch */ color: oklch(75.1% 0.127 98.6);
Tailwind
colors: {
  custom: {
    50: '#d8c67e',
    500: '#c3af45',
    950: '#000000',
  },
}
SCSS
$custom: #c3af45;
$custom-light: #d8c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3af45",
  "rgb": {
    "r": 195,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 50.476,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75122,
    "c": 0.12676,
    "h": 98.6
  },
  "luminance": 0.42692
}

Semantic roles & 50–950 ramp

primary
#C3AF45
secondary
#969FCE
accent
#64DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C3AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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