#CBB151#CBB151

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

Color values

HEX#CBB151
RGBrgb(203, 177, 81)
HSLhsl(47, 54%, 56%)
HSVhsv(47, 60%, 80%)
CMYKcmyk(0%, 12.8%, 60.1%, 20.4%)
CIE-LABlab(72.72, -2.06, 51.50)
CIE-LCHlch(72.72, 51.55, 92.29°)
OKLaboklab(76.42% -0.0088 0.119)
OKLCHoklch(76.42% 0.119 94.2)
XYZxyz(41.8377, 44.7369, 14.2143)
Luminance0.4474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB151 #516BCB
analogous
#CB7451 #CBB151 #A8CB51
triadic
#CBB151 #51CBB1 #B151CB
tetradic
#CBB151 #51CB74 #516BCB #CB51A8
square
#CBB151 #51CB74 #516BCB #CB51A8
split-complementary
#CBB151 #51A8CB #7451CB
monochromatic
#7C6A25 #AC9233 #CBB151 #D9C680 #E7DBAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB151#FFFFFF#000000##000000
##CBB1511.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)
#C2AE47
Deuteranopia (green-blind)
#C8B655
Tritanopia (blue-blind)
#DAA59C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cbb151;
/* rgb */ color: rgb(203, 177, 81);
/* oklch */ color: oklch(76.4% 0.119 94.2);
Tailwind
colors: {
  custom: {
    50: '#dec885',
    500: '#cbb151',
    950: '#000000',
  },
}
SCSS
$custom: #cbb151;
$custom-light: #dec885;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb151",
  "rgb": {
    "r": 203,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 47.213,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.76417,
    "c": 0.11931,
    "h": 94.2
  },
  "luminance": 0.44735
}

Semantic roles & 50–950 ramp

primary
#CBB151
secondary
#A3ADD5
accent
#6ADD4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CBB151

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

Preview Lab → · Contrast checker → · Palette generator →

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