#C9A92F#C9A92F

#C9A92F is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.3% C 0.138 H 93.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#C9A92F
RGBrgb(201, 169, 47)
HSLhsl(48, 62%, 49%)
HSVhsv(48, 77%, 79%)
CMYKcmyk(0%, 15.9%, 76.6%, 21.2%)
CIE-LABlab(70.18, -0.57, 62.90)
CIE-LCHlch(70.18, 62.91, 90.52°)
OKLaboklab(74.28% -0.0084 0.1375)
OKLCHoklch(74.28% 0.138 93.5)
XYZxyz(38.7906, 41.0010, 8.5596)
Luminance0.4100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A92F #2F4FC9
analogous
#C95C2F #C9A92F #9CC92F
triadic
#C9A92F #2FC9A9 #A92FC9
tetradic
#C9A92F #2FC95C #2F4FC9 #C92F9C
square
#C9A92F #2FC95C #2F4FC9 #C92F9C
split-complementary
#C9A92F #2F9CC9 #5C2FC9
monochromatic
#665618 #977F23 #C9A92F #D9BF5C #E5D38E

Accessibility & contrast

On white

2.28
#C9A92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#C9A92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9A92F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9A92F#FFFFFF#000000##000000
##C9A92F1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA617
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#DA9B92
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c9a92f;
/* rgb */ color: rgb(201, 169, 47);
/* oklch */ color: oklch(74.3% 0.138 93.5);
Tailwind
colors: {
  custom: {
    50: '#dec271',
    500: '#c9a92f',
    950: '#000000',
  },
}
SCSS
$custom: #c9a92f;
$custom-light: #dec271;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a92f",
  "rgb": {
    "r": 201,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 47.532,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74279,
    "c": 0.13777,
    "h": 93.5
  },
  "luminance": 0.40999
}

Semantic roles & 50–950 ramp

primary
#C9A92F
secondary
#8594CF
accent
#64E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #C9A92F

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

Preview Lab → · Contrast checker → · Palette generator →

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