#C3AF3C#C3AF3C

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

Color values

HEX#C3AF3C
RGBrgb(195, 175, 60)
HSLhsl(51, 53%, 50%)
HSVhsv(51, 69%, 76%)
CMYKcmyk(0%, 10.3%, 69.2%, 23.5%)
CIE-LABlab(71.28, -5.75, 58.88)
CIE-LCHlch(71.28, 59.16, 95.58°)
OKLaboklab(75.04% -0.0214 0.1317)
OKLCHoklch(75.04% 0.133 99.2)
XYZxyz(38.6530, 42.5901, 10.4588)
Luminance0.4259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AF3C #3C50C3
analogous
#C36B3C #C3AF3C #94C33C
triadic
#C3AF3C #3CC3AF #AF3CC3
tetradic
#C3AF3C #3CC36B #3C50C3 #C33C94
square
#C3AF3C #3CC36B #3C50C3 #C33C94
split-complementary
#C3AF3C #3C94C3 #6B3CC3
monochromatic
#655B1F #94852E #C3AF3C #D1C26B #E0D59A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3AF3C#FFFFFF#000000##000000
##C3AF3C1.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)
#C0AA2C
Deuteranopia (green-blind)
#C5B243
Tritanopia (blue-blind)
#D2A298
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c3af3c;
/* rgb */ color: rgb(195, 175, 60);
/* oklch */ color: oklch(75.0% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#d9c678',
    500: '#c3af3c',
    950: '#000000',
  },
}
SCSS
$custom: #c3af3c;
$custom-light: #d9c678;
$custom-dark: #000000;
JSON
{
  "hex": "#c3af3c",
  "rgb": {
    "r": 195,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 51.111,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.75044,
    "c": 0.1334,
    "h": 99.2
  },
  "luminance": 0.42588
}

Semantic roles & 50–950 ramp

primary
#C3AF3C
secondary
#8F98CC
accent
#61DC4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C3AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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