#C9B140#C9B140

#C9B140 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 76.1% C 0.132 H 97.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#C9B140
RGBrgb(201, 177, 64)
HSLhsl(49, 56%, 52%)
HSVhsv(49, 68%, 79%)
CMYKcmyk(0%, 11.9%, 68.2%, 21.2%)
CIE-LABlab(72.38, -3.99, 58.56)
CIE-LCHlch(72.38, 58.70, 93.89°)
OKLaboklab(76.06% -0.0163 0.1315)
OKLCHoklch(76.06% 0.132 97.1)
XYZxyz(40.7369, 44.2340, 11.2418)
Luminance0.4423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B140 #4058C9
analogous
#C96D40 #C9B140 #9DC940
triadic
#C9B140 #40C9B1 #B140C9
tetradic
#C9B140 #40C96D #4058C9 #C9409D
square
#C9B140 #40C96D #4058C9 #C9409D
split-complementary
#C9B140 #409DC9 #6D40C9
monochromatic
#6F611F #9F8B2D #C9B140 #D6C470 #E4D89F

Accessibility & contrast

On white

2.13
#C9B140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#C9B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B140
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B140#FFFFFF#000000##000000
##C9B1401.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD31
Deuteranopia (green-blind)
#C9B546
Tritanopia (blue-blind)
#D9A49A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c9b140;
/* rgb */ color: rgb(201, 177, 64);
/* oklch */ color: oklch(76.1% 0.132 97.1);
Tailwind
colors: {
  custom: {
    50: '#ddc87b',
    500: '#c9b140',
    950: '#000000',
  },
}
SCSS
$custom: #c9b140;
$custom-light: #ddc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b140",
  "rgb": {
    "r": 201,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 49.489,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76061,
    "c": 0.13249,
    "h": 97.1
  },
  "luminance": 0.44232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9B140

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

Preview Lab → · Contrast checker → · Palette generator →

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