#C9AF3C#C9AF3C

#C9AF3C is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.6% C 0.134 H 96.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#C9AF3C
RGBrgb(201, 175, 60)
HSLhsl(49, 57%, 51%)
HSVhsv(49, 70%, 79%)
CMYKcmyk(0%, 12.9%, 70.1%, 21.2%)
CIE-LABlab(71.83, -3.15, 59.62)
CIE-LCHlch(71.83, 59.70, 93.02°)
OKLaboklab(75.61% -0.0143 0.133)
OKLCHoklch(75.61% 0.134 96.1)
XYZxyz(40.2350, 43.4058, 10.5330)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AF3C #3C56C9
analogous
#C9683C #C9AF3C #9CC93C
triadic
#C9AF3C #3CC9AF #AF3CC9
tetradic
#C9AF3C #3CC968 #3C56C9 #C93C9C
square
#C9AF3C #3CC968 #3C56C9 #C93C9C
split-complementary
#C9AF3C #3C9CC9 #683CC9
monochromatic
#6D5E1E #9C882B #C9AF3C #D6C36C #E4D69C

Accessibility & contrast

On white

2.17
#C9AF3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#C9AF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AF3C
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AF3C#FFFFFF#000000##000000
##C9AF3C1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB2B
Deuteranopia (green-blind)
#C7B442
Tritanopia (blue-blind)
#D9A298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c9af3c;
/* rgb */ color: rgb(201, 175, 60);
/* oklch */ color: oklch(75.6% 0.134 96.1);
Tailwind
colors: {
  custom: {
    50: '#ddc678',
    500: '#c9af3c',
    950: '#000000',
  },
}
SCSS
$custom: #c9af3c;
$custom-light: #ddc678;
$custom-dark: #000000;
JSON
{
  "hex": "#c9af3c",
  "rgb": {
    "r": 201,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 48.936,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75613,
    "c": 0.13381,
    "h": 96.1
  },
  "luminance": 0.43404
}

Semantic roles & 50–950 ramp

primary
#C9AF3C
secondary
#919DD0
accent
#64E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C9AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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