#C9A62E#C9A62E

#C9A62E is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.7% C 0.137 H 91.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#C9A62E
RGBrgb(201, 166, 46)
HSLhsl(46, 63%, 48%)
HSVhsv(46, 77%, 79%)
CMYKcmyk(0%, 17.4%, 77.1%, 21.2%)
CIE-LABlab(69.39, 0.98, 62.52)
CIE-LCHlch(69.39, 62.53, 89.10°)
OKLaboklab(73.66% -0.004 0.1365)
OKLCHoklch(73.66% 0.137 91.7)
XYZxyz(38.2190, 39.8896, 8.2707)
Luminance0.3989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A62E #2E51C9
analogous
#C9592E #C9A62E #9EC92E
triadic
#C9A62E #2EC9A6 #A62EC9
tetradic
#C9A62E #2EC959 #2E51C9 #C92E9E
square
#C9A62E #2EC959 #2E51C9 #C92E9E
split-complementary
#C9A62E #2E9EC9 #592EC9
monochromatic
#655417 #977D23 #C9A62E #D9BD5B #E5D18D

Accessibility & contrast

On white

2.34
#C9A62E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#C9A62E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9A62E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9A62E#FFFFFF#000000##000000
##C9A62E1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A416
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#DA988F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c9a62e;
/* rgb */ color: rgb(201, 166, 46);
/* oklch */ color: oklch(73.7% 0.137 91.7);
Tailwind
colors: {
  custom: {
    50: '#dec070',
    500: '#c9a62e',
    950: '#000000',
  },
}
SCSS
$custom: #c9a62e;
$custom-light: #dec070;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a62e",
  "rgb": {
    "r": 201,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 46.452,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73657,
    "c": 0.13657,
    "h": 91.7
  },
  "luminance": 0.39887
}

Semantic roles & 50–950 ramp

primary
#C9A62E
secondary
#8495CF
accent
#67E642
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9A62E

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

Preview Lab → · Contrast checker → · Palette generator →

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