#C0AF4A#C0AF4A

#C0AF4A is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.123 H 99.8°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#C0AF4A
RGBrgb(192, 175, 74)
HSLhsl(51, 48%, 52%)
HSVhsv(51, 61%, 75%)
CMYKcmyk(0%, 8.9%, 61.5%, 24.7%)
CIE-LABlab(71.12, -6.19, 52.65)
CIE-LCHlch(71.12, 53.01, 96.70°)
OKLaboklab(74.89% -0.0208 0.1208)
OKLCHoklch(74.89% 0.123 99.8)
XYZxyz(38.3058, 42.3624, 12.6363)
Luminance0.4236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF4A #4A5BC0
analogous
#C0744A #C0AF4A #96C04A
triadic
#C0AF4A #4AC0AF #AF4AC0
tetradic
#C0AF4A #4AC074 #4A5BC0 #C04A96
square
#C0AF4A #4AC074 #4A5BC0 #C04A96
split-complementary
#C0AF4A #4A96C0 #744AC0
monochromatic
#6B6125 #988A35 #C0AF4A #D0C377 #E0D7A5

Accessibility & contrast

On white

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

On black

9.47
#C0AF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF4A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF4A#FFFFFF#000000##000000
##C0AF4A1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3F
Deuteranopia (green-blind)
#C3B14F
Tritanopia (blue-blind)
#CEA399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af4a;
/* rgb */ color: rgb(192, 175, 74);
/* oklch */ color: oklch(74.9% 0.123 99.8);
Tailwind
colors: {
  custom: {
    50: '#d6c681',
    500: '#c0af4a',
    950: '#000000',
  },
}
SCSS
$custom: #c0af4a;
$custom-light: #d6c681;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af4a",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 51.356,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74893,
    "c": 0.12256,
    "h": 99.8
  },
  "luminance": 0.42361
}

Semantic roles & 50–950 ramp

primary
#C0AF4A
secondary
#99A1CD
accent
#63D850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0AF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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