#C9AF2E#C9AF2E

#C9AF2E is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.142 H 97.1°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#C9AF2E
RGBrgb(201, 175, 46)
HSLhsl(50, 63%, 48%)
HSVhsv(50, 77%, 79%)
CMYKcmyk(0%, 12.9%, 77.1%, 21.2%)
CIE-LABlab(71.74, -3.78, 64.69)
CIE-LCHlch(71.74, 64.80, 93.34°)
OKLaboklab(75.52% -0.0176 0.1412)
OKLCHoklch(75.52% 0.142 97.1)
XYZxyz(39.9126, 43.2768, 8.8352)
Luminance0.4328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AF2E #2E48C9
analogous
#C9612E #C9AF2E #96C92E
triadic
#C9AF2E #2EC9AF #AF2EC9
tetradic
#C9AF2E #2EC961 #2E48C9 #C92E96
square
#C9AF2E #2EC961 #2E48C9 #C92E96
split-complementary
#C9AF2E #2E96C9 #612EC9
monochromatic
#655817 #978423 #C9AF2E #D9C45B #E5D68D

Accessibility & contrast

On white

2.18
#C9AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#C9AF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AF2E
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AF2E#FFFFFF#000000##000000
##C9AF2E1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB12
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#D9A197
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c9af2e;
/* rgb */ color: rgb(201, 175, 46);
/* oklch */ color: oklch(75.5% 0.142 97.1);
Tailwind
colors: {
  custom: {
    50: '#dec671',
    500: '#c9af2e',
    950: '#000000',
  },
}
SCSS
$custom: #c9af2e;
$custom-light: #dec671;
$custom-dark: #000000;
JSON
{
  "hex": "#c9af2e",
  "rgb": {
    "r": 201,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 49.935,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75516,
    "c": 0.14224,
    "h": 97.1
  },
  "luminance": 0.43275
}

Semantic roles & 50–950 ramp

primary
#C9AF2E
secondary
#8490CF
accent
#5DE642
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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