#C9B040#C9B040

#C9B040 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.132 H 96.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#C9B040
RGBrgb(201, 176, 64)
HSLhsl(49, 56%, 52%)
HSVhsv(49, 68%, 79%)
CMYKcmyk(0%, 12.4%, 68.2%, 21.2%)
CIE-LABlab(72.12, -3.46, 58.29)
CIE-LCHlch(72.12, 58.39, 93.40°)
OKLaboklab(75.85% -0.0148 0.1309)
OKLCHoklch(75.85% 0.132 96.4)
XYZxyz(40.5401, 43.8404, 11.1762)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B040 #4059C9
analogous
#C96C40 #C9B040 #9EC940
triadic
#C9B040 #40C9B0 #B040C9
tetradic
#C9B040 #40C96C #4059C9 #C9409E
square
#C9B040 #40C96C #4059C9 #C9409E
split-complementary
#C9B040 #409EC9 #6C40C9
monochromatic
#6F611F #9F8A2D #C9B040 #D6C470 #E4D79F

Accessibility & contrast

On white

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

On black

9.77
#C9B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B040
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B040#FFFFFF#000000##000000
##C9B0401.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC31
Deuteranopia (green-blind)
#C8B446
Tritanopia (blue-blind)
#D9A399
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c9b040;
/* rgb */ color: rgb(201, 176, 64);
/* oklch */ color: oklch(75.9% 0.132 96.4);
Tailwind
colors: {
  custom: {
    50: '#ddc77b',
    500: '#c9b040',
    950: '#000000',
  },
}
SCSS
$custom: #c9b040;
$custom-light: #ddc77b;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b040",
  "rgb": {
    "r": 201,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 49.051,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75853,
    "c": 0.13175,
    "h": 96.4
  },
  "luminance": 0.43838
}

Semantic roles & 50–950 ramp

primary
#C9B040
secondary
#949FD0
accent
#64DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C9B040

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

Preview Lab → · Contrast checker → · Palette generator →

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