#C9B748#C9B748

#C9B748 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.4% C 0.131 H 100.1°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#C9B748
RGBrgb(201, 183, 72)
HSLhsl(52, 54%, 54%)
HSVhsv(52, 64%, 79%)
CMYKcmyk(0%, 9%, 64.2%, 21.2%)
CIE-LABlab(74.03, -6.65, 56.92)
CIE-LCHlch(74.03, 57.31, 96.67°)
OKLaboklab(77.39% -0.023 0.1293)
OKLCHoklch(77.39% 0.131 100.1)
XYZxyz(42.1923, 46.7542, 12.9316)
Luminance0.4675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B748 #485AC9
analogous
#C97648 #C9B748 #9AC948
triadic
#C9B748 #48C9B7 #B748C9
tetradic
#C9B748 #48C976 #485AC9 #C9489A
square
#C9B748 #48C976 #485AC9 #C9489A
split-complementary
#C9B748 #489AC9 #7648C9
monochromatic
#746922 #A49330 #C9B748 #D7CA77 #E5DCA7

Accessibility & contrast

On white

2.03
#C9B748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#C9B748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B748
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B748#FFFFFF#000000##000000
##C9B7481.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B23B
Deuteranopia (green-blind)
#CDB94E
Tritanopia (blue-blind)
#D8AAA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c9b748;
/* rgb */ color: rgb(201, 183, 72);
/* oklch */ color: oklch(77.4% 0.131 100.1);
Tailwind
colors: {
  custom: {
    50: '#ddcc80',
    500: '#c9b748',
    950: '#000000',
  },
}
SCSS
$custom: #c9b748;
$custom-light: #ddcc80;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b748",
  "rgb": {
    "r": 201,
    "g": 183,
    "b": 72
  },
  "hsl": {
    "h": 51.628,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77388,
    "c": 0.13132,
    "h": 100.1
  },
  "luminance": 0.46752
}

Semantic roles & 50–950 ramp

primary
#C9B748
secondary
#9BA2D2
accent
#5FDE4A
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C9B748

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

Preview Lab → · Contrast checker → · Palette generator →

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