#C9B048#C9B048

#C9B048 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.126 H 95.7°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#C9B048
RGBrgb(201, 176, 72)
HSLhsl(48, 54%, 54%)
HSVhsv(48, 64%, 79%)
CMYKcmyk(0%, 12.4%, 64.2%, 21.2%)
CIE-LABlab(72.19, -2.99, 54.94)
CIE-LCHlch(72.19, 55.02, 93.11°)
OKLaboklab(75.93% -0.0125 0.1251)
OKLCHoklch(75.93% 0.126 95.7)
XYZxyz(40.7843, 43.9381, 12.4623)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B048 #4861C9
analogous
#C96F48 #C9B048 #A1C948
triadic
#C9B048 #48C9B0 #B048C9
tetradic
#C9B048 #48C96F #4861C9 #C948A1
square
#C9B048 #48C96F #4861C9 #C948A1
split-complementary
#C9B048 #48A1C9 #6F48C9
monochromatic
#746422 #A48D30 #C9B048 #D7C477 #E5D9A7

Accessibility & contrast

On white

2.15
#C9B048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#C9B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B048
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B048#FFFFFF#000000##000000
##C9B0481.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3C
Deuteranopia (green-blind)
#C7B44D
Tritanopia (blue-blind)
#D8A39A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c9b048;
/* rgb */ color: rgb(201, 176, 72);
/* oklch */ color: oklch(75.9% 0.126 95.7);
Tailwind
colors: {
  custom: {
    50: '#ddc77f',
    500: '#c9b048',
    950: '#000000',
  },
}
SCSS
$custom: #c9b048;
$custom-light: #ddc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b048",
  "rgb": {
    "r": 201,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 48.372,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.75926,
    "c": 0.12573,
    "h": 95.7
  },
  "luminance": 0.43936
}

Semantic roles & 50–950 ramp

primary
#C9B048
secondary
#9BA5D2
accent
#67DE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130A
muted
#84827C

Preview Lab

Preview with #C9B048

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

Preview Lab → · Contrast checker → · Palette generator →

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