#C9B752#C9B752

#C9B752 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.5% C 0.123 H 99.3°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#C9B752
RGBrgb(201, 183, 82)
HSLhsl(51, 52%, 55%)
HSVhsv(51, 59%, 79%)
CMYKcmyk(0%, 9%, 59.2%, 21.2%)
CIE-LABlab(74.12, -5.98, 52.57)
CIE-LCHlch(74.12, 52.91, 96.49°)
OKLaboklab(77.49% -0.0199 0.1214)
OKLCHoklch(77.49% 0.123 99.3)
XYZxyz(42.5455, 46.8955, 14.7917)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9B752 #5264C9
analogous
#C97B52 #C9B752 #A0C952
triadic
#C9B752 #52C9B7 #B752C9
tetradic
#C9B752 #52C97B #5264C9 #C952A0
square
#C9B752 #52C97B #5264C9 #C952A0
split-complementary
#C9B752 #52A0C9 #7B52C9
monochromatic
#7A6E26 #A99735 #C9B752 #D8CA81 #E6DEAF

Accessibility & contrast

On white

2.02
#C9B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#C9B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9B752
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9B752#FFFFFF#000000##000000
##C9B7521.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B247
Deuteranopia (green-blind)
#CCB957
Tritanopia (blue-blind)
#D7ABA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c9b752;
/* rgb */ color: rgb(201, 183, 82);
/* oklch */ color: oklch(77.5% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#dccc86',
    500: '#c9b752',
    950: '#000000',
  },
}
SCSS
$custom: #c9b752;
$custom-light: #dccc86;
$custom-dark: #000000;
JSON
{
  "hex": "#c9b752",
  "rgb": {
    "r": 201,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 50.924,
    "s": 52.423,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77488,
    "c": 0.12306,
    "h": 99.3
  },
  "luminance": 0.46894
}

Semantic roles & 50–950 ramp

primary
#C9B752
secondary
#A3AAD4
accent
#62DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #C9B752

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

Preview Lab → · Contrast checker → · Palette generator →

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