#C9B142#C9B142

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

Color values

HEX#C9B142
RGBrgb(201, 177, 66)
HSLhsl(49, 56%, 52%)
HSVhsv(49, 67%, 79%)
CMYKcmyk(0%, 11.9%, 67.2%, 21.2%)
CIE-LABlab(72.40, -3.87, 57.75)
CIE-LCHlch(72.40, 57.88, 93.84°)
OKLaboklab(76.08% -0.0157 0.1301)
OKLCHoklch(76.08% 0.131 96.9)
XYZxyz(40.7948, 44.2572, 11.5469)
Luminance0.4425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B142 #425AC9
analogous
#C96D42 #C9B142 #9EC942
triadic
#C9B142 #42C9B1 #B142C9
tetradic
#C9B142 #42C96D #425AC9 #C9429E
square
#C9B142 #42C96D #425AC9 #C9429E
split-complementary
#C9B142 #429EC9 #6D42C9
monochromatic
#706220 #A08C2E #C9B142 #D7C572 #E4D8A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9B142#FFFFFF#000000##000000
##C9B1421.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)
#C2AD34
Deuteranopia (green-blind)
#C8B548
Tritanopia (blue-blind)
#D8A49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c9b142;
/* rgb */ color: rgb(201, 177, 66);
/* oklch */ color: oklch(76.1% 0.131 96.9);
Tailwind
colors: {
  custom: {
    50: '#ddc87c',
    500: '#c9b142',
    950: '#000000',
  },
}
SCSS
$custom: #c9b142;
$custom-light: #ddc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b142",
  "rgb": {
    "r": 201,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 49.333,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.76079,
    "c": 0.13106,
    "h": 96.9
  },
  "luminance": 0.44255
}

Semantic roles & 50–950 ramp

primary
#C9B142
secondary
#96A0D1
accent
#64DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C9B142

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

Preview Lab → · Contrast checker → · Palette generator →

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