#C0A62F#C0A62F

#C0A62F is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.8% C 0.135 H 96.2°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#C0A62F
RGBrgb(192, 166, 47)
HSLhsl(49, 61%, 47%)
HSVhsv(49, 76%, 75%)
CMYKcmyk(0%, 13.5%, 75.5%, 24.7%)
CIE-LABlab(68.52, -2.93, 61.05)
CIE-LCHlch(68.52, 61.12, 92.75°)
OKLaboklab(72.77% -0.0146 0.134)
OKLCHoklch(72.77% 0.135 96.2)
XYZxyz(35.8894, 38.6861, 8.2656)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A62F #2F49C0
analogous
#C05D2F #C0A62F #92C02F
triadic
#C0A62F #2FC0A6 #A62FC0
tetradic
#C0A62F #2FC05D #2F49C0 #C02F92
square
#C0A62F #2FC05D #2F49C0 #C02F92
split-complementary
#C0A62F #2F92C0 #5D2FC0
monochromatic
#5E5117 #8F7B23 #C0A62F #D6BF56 #E2D288

Accessibility & contrast

On white

2.40
#C0A62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#C0A62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0A62F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0A62F#FFFFFF#000000##000000
##C0A62F1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A219
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#D0998F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c0a62f;
/* rgb */ color: rgb(192, 166, 47);
/* oklch */ color: oklch(72.8% 0.135 96.2);
Tailwind
colors: {
  custom: {
    50: '#d7c070',
    500: '#c0a62f',
    950: '#000000',
  },
}
SCSS
$custom: #c0a62f;
$custom-light: #d7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a62f",
  "rgb": {
    "r": 192,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 49.241,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7277,
    "c": 0.13475,
    "h": 96.2
  },
  "luminance": 0.38684
}

Semantic roles & 50–950 ramp

primary
#C0A62F
secondary
#7F8DCB
accent
#61E444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C0A62F

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

Preview Lab → · Contrast checker → · Palette generator →

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