#C9A124#C9A124

#C9A124 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.6% C 0.139 H 89.3°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#C9A124
RGBrgb(201, 161, 36)
HSLhsl(45, 70%, 46%)
HSVhsv(45, 82%, 79%)
CMYKcmyk(0%, 19.9%, 82.1%, 21.2%)
CIE-LABlab(68.05, 3.31, 64.59)
CIE-LCHlch(68.05, 64.67, 87.07°)
OKLaboklab(72.58% 0.0016 0.1388)
OKLCHoklch(72.58% 0.139 89.3)
XYZxyz(37.1530, 38.0371, 7.0538)
Luminance0.3804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9A124 #244CC9
analogous
#C94F24 #C9A124 #9FC924
triadic
#C9A124 #24C9A1 #A124C9
tetradic
#C9A124 #24C94F #244CC9 #C9249F
square
#C9A124 #24C94F #244CC9 #C9249F
split-complementary
#C9A124 #249FC9 #4F24C9
monochromatic
#614E11 #95771B #C9A124 #DFBB4B #E8CF7F

Accessibility & contrast

On white

2.44
#C9A124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#C9A124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9A124
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9A124#FFFFFF#000000##000000
##C9A1241.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#BEAA2C
Tritanopia (blue-blind)
#DA928A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c9a124;
/* rgb */ color: rgb(201, 161, 36);
/* oklch */ color: oklch(72.6% 0.139 89.3);
Tailwind
colors: {
  custom: {
    50: '#debc6b',
    500: '#c9a124',
    950: '#000000',
  },
}
SCSS
$custom: #c9a124;
$custom-light: #debc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#c9a124",
  "rgb": {
    "r": 201,
    "g": 161,
    "b": 36
  },
  "hsl": {
    "h": 45.455,
    "s": 69.62,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72582,
    "c": 0.13885,
    "h": 89.3
  },
  "luminance": 0.38035
}

Semantic roles & 50–950 ramp

primary
#C9A124
secondary
#788ED1
accent
#66EC3B
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161107
muted
#84807A

Preview Lab

Preview with #C9A124

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

Preview Lab → · Contrast checker → · Palette generator →

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