#C9AF3A#C9AF3A

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

Color values

HEX#C9AF3A
RGBrgb(201, 175, 58)
HSLhsl(49, 57%, 51%)
HSVhsv(49, 71%, 79%)
CMYKcmyk(0%, 12.9%, 71.1%, 21.2%)
CIE-LABlab(71.82, -3.25, 60.40)
CIE-LCHlch(71.82, 60.48, 93.08°)
OKLaboklab(75.6% -0.0148 0.1343)
OKLCHoklch(75.6% 0.135 96.3)
XYZxyz(40.1831, 43.3850, 10.2598)
Luminance0.4338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AF3A #3A54C9
analogous
#C9673A #C9AF3A #9BC93A
triadic
#C9AF3A #3AC9AF #AF3AC9
tetradic
#C9AF3A #3AC967 #3A54C9 #C93A9B
square
#C9AF3A #3AC967 #3A54C9 #C93A9B
split-complementary
#C9AF3A #3A9BC9 #673AC9
monochromatic
#6B5D1D #9B872B #C9AF3A #D6C36A #E3D69A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9AF3A#FFFFFF#000000##000000
##C9AF3A1.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)
#C1AB28
Deuteranopia (green-blind)
#C7B441
Tritanopia (blue-blind)
#D9A298
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c9af3a;
/* rgb */ color: rgb(201, 175, 58);
/* oklch */ color: oklch(75.6% 0.135 96.3);
Tailwind
colors: {
  custom: {
    50: '#ddc677',
    500: '#c9af3a',
    950: '#000000',
  },
}
SCSS
$custom: #c9af3a;
$custom-light: #ddc677;
$custom-dark: #000000;
JSON
{
  "hex": "#c9af3a",
  "rgb": {
    "r": 201,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 49.091,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75597,
    "c": 0.13514,
    "h": 96.3
  },
  "luminance": 0.43383
}

Semantic roles & 50–950 ramp

primary
#C9AF3A
secondary
#909BCF
accent
#63E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #C9AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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