#C0AF3D#C0AF3D

#C0AF3D is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.133 H 100.7°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#C0AF3D
RGBrgb(192, 175, 61)
HSLhsl(52, 52%, 50%)
HSVhsv(52, 68%, 75%)
CMYKcmyk(0%, 8.9%, 68.2%, 24.7%)
CIE-LABlab(71.01, -6.99, 58.12)
CIE-LCHlch(71.01, 58.54, 96.86°)
OKLaboklab(74.77% -0.0246 0.1304)
OKLCHoklch(74.77% 0.133 100.7)
XYZxyz(37.9122, 42.2050, 10.5634)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF3D #3D4EC0
analogous
#C06E3D #C0AF3D #8FC03D
triadic
#C0AF3D #3DC0AF #AF3DC0
tetradic
#C0AF3D #3DC06E #3D4EC0 #C03D8F
square
#C0AF3D #3DC06E #3D4EC0 #C03D8F
split-complementary
#C0AF3D #3D8FC0 #6E3DC0
monochromatic
#635A1F #92852E #C0AF3D #D0C36A #DFD699

Accessibility & contrast

On white

2.22
#C0AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#C0AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF3D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF3D#FFFFFF#000000##000000
##C0AF3D1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2D
Deuteranopia (green-blind)
#C4B144
Tritanopia (blue-blind)
#CEA398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af3d;
/* rgb */ color: rgb(192, 175, 61);
/* oklch */ color: oklch(74.8% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#d6c679',
    500: '#c0af3d',
    950: '#000000',
  },
}
SCSS
$custom: #c0af3d;
$custom-light: #d6c679;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af3d",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 52.214,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74772,
    "c": 0.13266,
    "h": 100.7
  },
  "luminance": 0.42203
}

Semantic roles & 50–950 ramp

primary
#C0AF3D
secondary
#8E96CA
accent
#5FDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C0AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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