#C9B42E#C9B42E

#C9B42E is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.6% C 0.146 H 99.9°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#C9B42E
RGBrgb(201, 180, 46)
HSLhsl(52, 63%, 48%)
HSVhsv(52, 77%, 79%)
CMYKcmyk(0%, 10.4%, 77.1%, 21.2%)
CIE-LABlab(73.06, -6.39, 65.90)
CIE-LCHlch(73.06, 66.21, 95.54°)
OKLaboklab(76.56% -0.025 0.1437)
OKLCHoklch(76.56% 0.146 99.9)
XYZxyz(40.9038, 45.2593, 9.1656)
Luminance0.4526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B42E #2E43C9
analogous
#C9662E #C9B42E #90C92E
triadic
#C9B42E #2EC9B4 #B42EC9
tetradic
#C9B42E #2EC966 #2E43C9 #C92E90
square
#C9B42E #2EC966 #2E43C9 #C92E90
split-complementary
#C9B42E #2E90C9 #662EC9
monochromatic
#655B17 #978723 #C9B42E #D9C85B #E5D98D

Accessibility & contrast

On white

2.09
#C9B42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#C9B42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B42E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B42E#FFFFFF#000000##000000
##C9B42E1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF0E
Deuteranopia (green-blind)
#CCB738
Tritanopia (blue-blind)
#D9A69B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c9b42e;
/* rgb */ color: rgb(201, 180, 46);
/* oklch */ color: oklch(76.6% 0.146 99.9);
Tailwind
colors: {
  custom: {
    50: '#deca72',
    500: '#c9b42e',
    950: '#000000',
  },
}
SCSS
$custom: #c9b42e;
$custom-light: #deca72;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b42e",
  "rgb": {
    "r": 201,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 51.871,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76562,
    "c": 0.14588,
    "h": 99.9
  },
  "luminance": 0.45257
}

Semantic roles & 50–950 ramp

primary
#C9B42E
secondary
#848ECF
accent
#58E642
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C9B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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