#C0AF45#C0AF45

#C0AF45 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.8% C 0.127 H 100.2°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#C0AF45
RGBrgb(192, 175, 69)
HSLhsl(52, 49%, 51%)
HSVhsv(52, 64%, 75%)
CMYKcmyk(0%, 8.9%, 64.1%, 24.7%)
CIE-LABlab(71.08, -6.52, 54.82)
CIE-LCHlch(71.08, 55.21, 96.78°)
OKLaboklab(74.84% -0.0224 0.1247)
OKLCHoklch(74.84% 0.127 100.2)
XYZxyz(38.1440, 42.2977, 11.7841)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF45 #4556C0
analogous
#C07145 #C0AF45 #93C045
triadic
#C0AF45 #45C0AF #AF45C0
tetradic
#C0AF45 #45C071 #4556C0 #C04593
square
#C0AF45 #45C071 #4556C0 #C04593
split-complementary
#C0AF45 #4593C0 #7145C0
monochromatic
#685E23 #958833 #C0AF45 #CFC373 #DFD6A0

Accessibility & contrast

On white

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

On black

9.46
#C0AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF45
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF45#FFFFFF#000000##000000
##C0AF451.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0af45;
/* rgb */ color: rgb(192, 175, 69);
/* oklch */ color: oklch(74.8% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#d6c67d',
    500: '#c0af45',
    950: '#000000',
  },
}
SCSS
$custom: #c0af45;
$custom-light: #d6c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af45",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 51.707,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74843,
    "c": 0.12664,
    "h": 100.2
  },
  "luminance": 0.42296
}

Semantic roles & 50–950 ramp

primary
#C0AF45
secondary
#959DCC
accent
#62D94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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