#C9AF30#C9AF30

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

Color values

HEX#C9AF30
RGBrgb(201, 175, 48)
HSLhsl(50, 61%, 49%)
HSVhsv(50, 76%, 79%)
CMYKcmyk(0%, 12.9%, 76.1%, 21.2%)
CIE-LABlab(71.75, -3.70, 64.02)
CIE-LCHlch(71.75, 64.13, 93.31°)
OKLaboklab(75.53% -0.0172 0.1401)
OKLCHoklch(75.53% 0.141 97)
XYZxyz(39.9530, 43.2930, 9.0477)
Luminance0.4329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AF30 #304AC9
analogous
#C96330 #C9AF30 #97C930
triadic
#C9AF30 #30C9AF #AF30C9
tetradic
#C9AF30 #30C963 #304AC9 #C93097
square
#C9AF30 #30C963 #304AC9 #C93097
split-complementary
#C9AF30 #3097C9 #6330C9
monochromatic
#665918 #988424 #C9AF30 #D8C45E #E4D68F

Accessibility & contrast

On white

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

On black

9.66
#C9AF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AF30
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AF30#FFFFFF#000000##000000
##C9AF301.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9af30;
/* rgb */ color: rgb(201, 175, 48);
/* oklch */ color: oklch(75.5% 0.141 97.0);
Tailwind
colors: {
  custom: {
    50: '#dec672',
    500: '#c9af30',
    950: '#000000',
  },
}
SCSS
$custom: #c9af30;
$custom-light: #dec672;
$custom-dark: #000000;
JSON
{
  "hex": "#c9af30",
  "rgb": {
    "r": 201,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 49.804,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75528,
    "c": 0.14116,
    "h": 97
  },
  "luminance": 0.43291
}

Semantic roles & 50–950 ramp

primary
#C9AF30
secondary
#8692CF
accent
#5FE543
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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