#C9B248#C9B248

#C9B248 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.3% C 0.127 H 97.0°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#C9B248
RGBrgb(201, 178, 72)
HSLhsl(49, 54%, 54%)
HSVhsv(49, 64%, 79%)
CMYKcmyk(0%, 11.4%, 64.2%, 21.2%)
CIE-LABlab(72.71, -4.04, 55.51)
CIE-LCHlch(72.71, 55.65, 94.16°)
OKLaboklab(76.34% -0.0155 0.1263)
OKLCHoklch(76.34% 0.127 97)
XYZxyz(41.1793, 44.7281, 12.5940)
Luminance0.4473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B248 #485FC9
analogous
#C97148 #C9B248 #9FC948
triadic
#C9B248 #48C9B2 #B248C9
tetradic
#C9B248 #48C971 #485FC9 #C9489F
square
#C9B248 #48C971 #485FC9 #C9489F
split-complementary
#C9B248 #489FC9 #7148C9
monochromatic
#746622 #A48F30 #C9B248 #D7C677 #E5DAA7

Accessibility & contrast

On white

2.11
#C9B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#C9B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B248
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B248#FFFFFF#000000##000000
##C9B2481.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3C
Deuteranopia (green-blind)
#C9B64D
Tritanopia (blue-blind)
#D8A59C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c9b248;
/* rgb */ color: rgb(201, 178, 72);
/* oklch */ color: oklch(76.3% 0.127 97.0);
Tailwind
colors: {
  custom: {
    50: '#ddc880',
    500: '#c9b248',
    950: '#000000',
  },
}
SCSS
$custom: #c9b248;
$custom-light: #ddc880;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b248",
  "rgb": {
    "r": 201,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 49.302,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.76342,
    "c": 0.12726,
    "h": 97
  },
  "luminance": 0.44726
}

Semantic roles & 50–950 ramp

primary
#C9B248
secondary
#9BA5D2
accent
#64DE4A
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C9B248

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

Preview Lab → · Contrast checker → · Palette generator →

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