#C0AD2F#C0AD2F

#C0AD2F is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.2% C 0.140 H 100.3°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#C0AD2F
RGBrgb(192, 173, 47)
HSLhsl(52, 61%, 47%)
HSVhsv(52, 76%, 75%)
CMYKcmyk(0%, 9.9%, 75.5%, 24.7%)
CIE-LABlab(70.39, -6.63, 62.79)
CIE-LCHlch(70.39, 63.14, 96.02°)
OKLaboklab(74.25% -0.0251 0.1377)
OKLCHoklch(74.25% 0.14 100.3)
XYZxyz(37.1967, 41.3006, 8.7013)
Luminance0.4130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AD2F #2F42C0
analogous
#C0652F #C0AD2F #8BC02F
triadic
#C0AD2F #2FC0AD #AD2FC0
tetradic
#C0AD2F #2FC065 #2F42C0 #C02F8B
square
#C0AD2F #2FC065 #2F42C0 #C02F8B
split-complementary
#C0AD2F #2F8BC0 #652FC0
monochromatic
#5E5417 #8F8123 #C0AD2F #D6C556 #E2D688

Accessibility & contrast

On white

2.27
#C0AD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#C0AD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AD2F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AD2F#FFFFFF#000000##000000
##C0AD2F1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA815
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#CFA095
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c0ad2f;
/* rgb */ color: rgb(192, 173, 47);
/* oklch */ color: oklch(74.2% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#d7c571',
    500: '#c0ad2f',
    950: '#000000',
  },
}
SCSS
$custom: #c0ad2f;
$custom-light: #d7c571;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ad2f",
  "rgb": {
    "r": 192,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 52.138,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74246,
    "c": 0.13994,
    "h": 100.3
  },
  "luminance": 0.41299
}

Semantic roles & 50–950 ramp

primary
#C0AD2F
secondary
#7F89CB
accent
#59E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C0AD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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