#CBB052#CBB052

#CBB052 is a light, moderate yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.118 H 93.4°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#CBB052
RGBrgb(203, 176, 82)
HSLhsl(47, 54%, 56%)
HSVhsv(47, 60%, 80%)
CMYKcmyk(0%, 13.3%, 59.6%, 20.4%)
CIE-LABlab(72.47, -1.46, 50.76)
CIE-LCHlch(72.47, 50.78, 91.65°)
OKLaboklab(76.22% -0.007 0.1175)
OKLCHoklch(76.22% 0.118 93.4)
XYZxyz(41.6787, 44.3584, 14.3477)
Luminance0.4436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB052 #526DCB
analogous
#CB7352 #CBB052 #A9CB52
triadic
#CBB052 #52CBB0 #B052CB
tetradic
#CBB052 #52CB73 #526DCB #CB52A9
square
#CBB052 #52CB73 #526DCB #CB52A9
split-complementary
#CBB052 #52A9CB #7352CB
monochromatic
#7D6A26 #AC9134 #CBB052 #D9C581 #E7DBB0

Accessibility & contrast

On white

2.13
#CBB052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CBB052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB052
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB052#FFFFFF#000000##000000
##CBB0521.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD48
Deuteranopia (green-blind)
#C7B556
Tritanopia (blue-blind)
#DAA49B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cbb052;
/* rgb */ color: rgb(203, 176, 82);
/* oklch */ color: oklch(76.2% 0.118 93.4);
Tailwind
colors: {
  custom: {
    50: '#dec786',
    500: '#cbb052',
    950: '#000000',
  },
}
SCSS
$custom: #cbb052;
$custom-light: #dec786;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb052",
  "rgb": {
    "r": 203,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 46.612,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76222,
    "c": 0.11771,
    "h": 93.4
  },
  "luminance": 0.44356
}

Semantic roles & 50–950 ramp

primary
#CBB052
secondary
#A3AFD5
accent
#6BDD4B
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBB052

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

Preview Lab → · Contrast checker → · Palette generator →

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