#C3AF3D#C3AF3D

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

Color values

HEX#C3AF3D
RGBrgb(195, 175, 61)
HSLhsl(51, 53%, 50%)
HSVhsv(51, 69%, 76%)
CMYKcmyk(0%, 10.3%, 68.7%, 23.5%)
CIE-LABlab(71.28, -5.70, 58.49)
CIE-LCHlch(71.28, 58.76, 95.56°)
OKLaboklab(75.05% -0.0211 0.131)
OKLCHoklch(75.05% 0.133 99.2)
XYZxyz(38.6797, 42.6008, 10.5993)
Luminance0.4260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3AF3D #3D51C3
analogous
#C36C3D #C3AF3D #94C33D
triadic
#C3AF3D #3DC3AF #AF3DC3
tetradic
#C3AF3D #3DC36C #3D51C3 #C33D94
square
#C3AF3D #3DC36C #3D51C3 #C33D94
split-complementary
#C3AF3D #3D94C3 #6C3DC3
monochromatic
#665C20 #95852E #C3AF3D #D1C26C #E0D69A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C3AF3D#FFFFFF#000000##000000
##C3AF3D1.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)
#C0AA2D
Deuteranopia (green-blind)
#C5B244
Tritanopia (blue-blind)
#D2A298
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c3af3d;
/* rgb */ color: rgb(195, 175, 61);
/* oklch */ color: oklch(75.1% 0.133 99.2);
Tailwind
colors: {
  custom: {
    50: '#d9c679',
    500: '#c3af3d',
    950: '#000000',
  },
}
SCSS
$custom: #c3af3d;
$custom-light: #d9c679;
$custom-dark: #000000;
JSON
{
  "hex": "#c3af3d",
  "rgb": {
    "r": 195,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 51.045,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75052,
    "c": 0.13271,
    "h": 99.2
  },
  "luminance": 0.42599
}

Semantic roles & 50–950 ramp

primary
#C3AF3D
secondary
#9099CC
accent
#61DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C3AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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