#C9B241#C9B241

#C9B241 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.133 H 97.6°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#C9B241
RGBrgb(201, 178, 65)
HSLhsl(50, 56%, 52%)
HSVhsv(50, 68%, 79%)
CMYKcmyk(0%, 11.4%, 67.7%, 21.2%)
CIE-LABlab(72.66, -4.46, 58.43)
CIE-LCHlch(72.66, 58.60, 94.36°)
OKLaboklab(76.28% -0.0175 0.1314)
OKLCHoklch(76.28% 0.133 97.6)
XYZxyz(40.9638, 44.6419, 11.4591)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B241 #4158C9
analogous
#C96E41 #C9B241 #9CC941
triadic
#C9B241 #41C9B2 #B241C9
tetradic
#C9B241 #41C96E #4158C9 #C9419C
square
#C9B241 #41C96E #4158C9 #C9419C
split-complementary
#C9B241 #419CC9 #6E41C9
monochromatic
#706220 #9F8C2D #C9B241 #D7C571 #E4D9A0

Accessibility & contrast

On white

2.12
#C9B241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#C9B241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B241
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B241#FFFFFF#000000##000000
##C9B2411.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE32
Deuteranopia (green-blind)
#C9B647
Tritanopia (blue-blind)
#D8A59B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c9b241;
/* rgb */ color: rgb(201, 178, 65);
/* oklch */ color: oklch(76.3% 0.133 97.6);
Tailwind
colors: {
  custom: {
    50: '#ddc87c',
    500: '#c9b241',
    950: '#000000',
  },
}
SCSS
$custom: #c9b241;
$custom-light: #ddc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b241",
  "rgb": {
    "r": 201,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 49.853,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76278,
    "c": 0.13254,
    "h": 97.6
  },
  "luminance": 0.4464
}

Semantic roles & 50–950 ramp

primary
#C9B241
secondary
#959FD1
accent
#62DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C9B241

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

Preview Lab → · Contrast checker → · Palette generator →

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