#C9B045#C9B045

#C9B045 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.128 H 96.0°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C9B045
RGBrgb(201, 176, 69)
HSLhsl(49, 55%, 53%)
HSVhsv(49, 66%, 79%)
CMYKcmyk(0%, 12.4%, 65.7%, 21.2%)
CIE-LABlab(72.16, -3.17, 56.22)
CIE-LCHlch(72.16, 56.31, 93.23°)
OKLaboklab(75.9% -0.0134 0.1274)
OKLCHoklch(75.9% 0.128 96)
XYZxyz(40.6888, 43.8999, 11.9594)
Luminance0.4390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B045 #455EC9
analogous
#C96E45 #C9B045 #A0C945
triadic
#C9B045 #45C9B0 #B045C9
tetradic
#C9B045 #45C96E #455EC9 #C945A0
square
#C9B045 #45C96E #455EC9 #C945A0
split-complementary
#C9B045 #45A0C9 #6E45C9
monochromatic
#726321 #A28C2F #C9B045 #D7C474 #E5D8A4

Accessibility & contrast

On white

2.15
#C9B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#C9B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B045
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B045#FFFFFF#000000##000000
##C9B0451.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C8B44A
Tritanopia (blue-blind)
#D8A39A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c9b045;
/* rgb */ color: rgb(201, 176, 69);
/* oklch */ color: oklch(75.9% 0.128 96.0);
Tailwind
colors: {
  custom: {
    50: '#ddc77e',
    500: '#c9b045',
    950: '#000000',
  },
}
SCSS
$custom: #c9b045;
$custom-light: #ddc77e;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b045",
  "rgb": {
    "r": 201,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 48.636,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75897,
    "c": 0.12806,
    "h": 96
  },
  "luminance": 0.43898
}

Semantic roles & 50–950 ramp

primary
#C9B045
secondary
#98A3D1
accent
#66DE49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C9B045

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

Preview Lab → · Contrast checker → · Palette generator →

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