#C0AF48#C0AF48

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

Color values

HEX#C0AF48
RGBrgb(192, 175, 72)
HSLhsl(52, 49%, 52%)
HSVhsv(52, 63%, 75%)
CMYKcmyk(0%, 8.9%, 62.5%, 24.7%)
CIE-LABlab(71.10, -6.32, 53.53)
CIE-LCHlch(71.10, 53.90, 96.74°)
OKLaboklab(74.87% -0.0215 0.1224)
OKLCHoklch(74.87% 0.124 100)
XYZxyz(38.2394, 42.3359, 12.2870)
Luminance0.4233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF48 #4859C0
analogous
#C07348 #C0AF48 #95C048
triadic
#C0AF48 #48C0AF #AF48C0
tetradic
#C0AF48 #48C073 #4859C0 #C04895
square
#C0AF48 #48C073 #4859C0 #C04895
split-complementary
#C0AF48 #4895C0 #7348C0
monochromatic
#696024 #978934 #C0AF48 #D0C376 #DFD7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0AF48#FFFFFF#000000##000000
##C0AF481.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)
#BFAA3C
Deuteranopia (green-blind)
#C3B14D
Tritanopia (blue-blind)
#CEA399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af48;
/* rgb */ color: rgb(192, 175, 72);
/* oklch */ color: oklch(74.9% 0.124 100.0);
Tailwind
colors: {
  custom: {
    50: '#d6c67f',
    500: '#c0af48',
    950: '#000000',
  },
}
SCSS
$custom: #c0af48;
$custom-light: #d6c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af48",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 51.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74872,
    "c": 0.12422,
    "h": 100
  },
  "luminance": 0.42334
}

Semantic roles & 50–950 ramp

primary
#C0AF48
secondary
#989FCC
accent
#63D84F
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0AF48

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

Preview Lab → · Contrast checker → · Palette generator →

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