#C0AF2F#C0AF2F

#C0AF2F is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.142 H 101.4°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#C0AF2F
RGBrgb(192, 175, 47)
HSLhsl(53, 61%, 47%)
HSVhsv(53, 76%, 75%)
CMYKcmyk(0%, 8.9%, 75.5%, 24.7%)
CIE-LABlab(70.92, -7.67, 63.30)
CIE-LCHlch(70.92, 63.76, 96.91°)
OKLaboklab(74.67% -0.028 0.1388)
OKLCHoklch(74.67% 0.142 101.4)
XYZxyz(37.5831, 42.0734, 8.8301)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF2F #2F40C0
analogous
#C0672F #C0AF2F #88C02F
triadic
#C0AF2F #2FC0AF #AF2FC0
tetradic
#C0AF2F #2FC067 #2F40C0 #C02F88
square
#C0AF2F #2FC067 #2F40C0 #C02F88
split-complementary
#C0AF2F #2F88C0 #672FC0
monochromatic
#5E5517 #8F8223 #C0AF2F #D6C756 #E2D788

Accessibility & contrast

On white

2.23
#C0AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#C0AF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF2F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF2F#FFFFFF#000000##000000
##C0AF2F1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA14
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#CFA297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af2f;
/* rgb */ color: rgb(192, 175, 47);
/* oklch */ color: oklch(74.7% 0.142 101.4);
Tailwind
colors: {
  custom: {
    50: '#d7c671',
    500: '#c0af2f',
    950: '#000000',
  },
}
SCSS
$custom: #c0af2f;
$custom-light: #d7c671;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af2f",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 52.966,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74671,
    "c": 0.14155,
    "h": 101.4
  },
  "luminance": 0.42072
}

Semantic roles & 50–950 ramp

primary
#C0AF2F
secondary
#7F88CB
accent
#57E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C0AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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