#C9B145#C9B145

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

Color values

HEX#C9B145
RGBrgb(201, 177, 69)
HSLhsl(49, 55%, 53%)
HSVhsv(49, 66%, 79%)
CMYKcmyk(0%, 11.9%, 65.7%, 21.2%)
CIE-LABlab(72.42, -3.70, 56.50)
CIE-LCHlch(72.42, 56.62, 93.75°)
OKLaboklab(76.11% -0.0149 0.128)
OKLCHoklch(76.11% 0.129 96.6)
XYZxyz(40.8856, 44.2935, 12.0250)
Luminance0.4429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B145 #455DC9
analogous
#C96F45 #C9B145 #9FC945
triadic
#C9B145 #45C9B1 #B145C9
tetradic
#C9B145 #45C96F #455DC9 #C9459F
square
#C9B145 #45C96F #455DC9 #C9459F
split-complementary
#C9B145 #459FC9 #6F45C9
monochromatic
#726421 #A28D2F #C9B145 #D7C574 #E5D9A4

Accessibility & contrast

On white

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

On black

9.86
#C9B145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B145
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B145#FFFFFF#000000##000000
##C9B1451.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#C8B54B
Tritanopia (blue-blind)
#D8A49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c9b145;
/* rgb */ color: rgb(201, 177, 69);
/* oklch */ color: oklch(76.1% 0.129 96.6);
Tailwind
colors: {
  custom: {
    50: '#ddc87e',
    500: '#c9b145',
    950: '#000000',
  },
}
SCSS
$custom: #c9b145;
$custom-light: #ddc87e;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b145",
  "rgb": {
    "r": 201,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 49.091,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76105,
    "c": 0.12881,
    "h": 96.6
  },
  "luminance": 0.44291
}

Semantic roles & 50–950 ramp

primary
#C9B145
secondary
#98A3D1
accent
#65DE49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C9B145

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

Preview Lab → · Contrast checker → · Palette generator →

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