#CBB952#CBB952

#CBB952 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.1% C 0.125 H 99.5°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CBB952
RGBrgb(203, 185, 82)
HSLhsl(51, 54%, 56%)
HSVhsv(51, 60%, 80%)
CMYKcmyk(0%, 8.9%, 59.6%, 20.4%)
CIE-LABlab(74.83, -6.18, 53.41)
CIE-LCHlch(74.83, 53.77, 96.60°)
OKLaboklab(78.09% -0.0206 0.1232)
OKLCHoklch(78.09% 0.125 99.5)
XYZxyz(43.5022, 48.0055, 14.9555)
Luminance0.4800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB952 #5264CB
analogous
#CB7C52 #CBB952 #A1CB52
triadic
#CBB952 #52CBB9 #B952CB
tetradic
#CBB952 #52CB7C #5264CB #CB52A1
square
#CBB952 #52CB7C #5264CB #CB52A1
split-complementary
#CBB952 #52A1CB #7C52CB
monochromatic
#7D7026 #AC9A34 #CBB952 #D9CC81 #E7DFB0

Accessibility & contrast

On white

1.98
#CBB952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CBB952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB952
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB952#FFFFFF#000000##000000
##CBB9521.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#DAADA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb952;
/* rgb */ color: rgb(203, 185, 82);
/* oklch */ color: oklch(78.1% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#decd86',
    500: '#cbb952',
    950: '#000000',
  },
}
SCSS
$custom: #cbb952;
$custom-light: #decd86;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb952",
  "rgb": {
    "r": 203,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 51.074,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.7809,
    "c": 0.12488,
    "h": 99.5
  },
  "luminance": 0.48004
}

Semantic roles & 50–950 ramp

primary
#CBB952
secondary
#A3ABD5
accent
#60DD4B
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CBB952

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

Preview Lab → · Contrast checker → · Palette generator →

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