#CBB152#CBB152

#CBB152 is a light, moderate yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.118 H 94.1°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CBB152
RGBrgb(203, 177, 82)
HSLhsl(47, 54%, 56%)
HSVhsv(47, 60%, 80%)
CMYKcmyk(0%, 12.8%, 59.6%, 20.4%)
CIE-LABlab(72.73, -1.99, 51.05)
CIE-LCHlch(72.73, 51.09, 92.23°)
OKLaboklab(76.43% -0.0085 0.1181)
OKLCHoklch(76.43% 0.118 94.1)
XYZxyz(41.8755, 44.7520, 14.4133)
Luminance0.4475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB152 #526CCB
analogous
#CB7452 #CBB152 #A9CB52
triadic
#CBB152 #52CBB1 #B152CB
tetradic
#CBB152 #52CB74 #526CCB #CB52A9
square
#CBB152 #52CB74 #526CCB #CB52A9
split-complementary
#CBB152 #52A9CB #7452CB
monochromatic
#7D6A26 #AC9234 #CBB152 #D9C681 #E7DBB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB152#FFFFFF#000000##000000
##CBB1521.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)
#C2AE48
Deuteranopia (green-blind)
#C8B656
Tritanopia (blue-blind)
#DAA59C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cbb152;
/* rgb */ color: rgb(203, 177, 82);
/* oklch */ color: oklch(76.4% 0.118 94.1);
Tailwind
colors: {
  custom: {
    50: '#dec886',
    500: '#cbb152',
    950: '#000000',
  },
}
SCSS
$custom: #cbb152;
$custom-light: #dec886;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb152",
  "rgb": {
    "r": 203,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 47.107,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.76428,
    "c": 0.11844,
    "h": 94.1
  },
  "luminance": 0.4475
}

Semantic roles & 50–950 ramp

primary
#CBB152
secondary
#A3AED5
accent
#6ADD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBB152

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

Preview Lab → · Contrast checker → · Palette generator →

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