#CBB255#CBB255

#CBB255 is a light, moderate yellow. Relative luminance 0.452; OKLCH L 76.7% C 0.117 H 94.4°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CBB255
RGBrgb(203, 178, 85)
HSLhsl(47, 53%, 56%)
HSVhsv(47, 58%, 80%)
CMYKcmyk(0%, 12.3%, 58.1%, 20.4%)
CIE-LABlab(73.02, -2.30, 49.97)
CIE-LCHlch(73.02, 50.03, 92.63°)
OKLaboklab(76.67% -0.009 0.1162)
OKLCHoklch(76.67% 0.117 94.4)
XYZxyz(42.1904, 45.1952, 15.0938)
Luminance0.4519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB255 #556ECB
analogous
#CB7755 #CBB255 #A9CB55
triadic
#CBB255 #55CBB2 #B255CB
tetradic
#CBB255 #55CB77 #556ECB #CB55A9
square
#CBB255 #55CB77 #556ECB #CB55A9
split-complementary
#CBB255 #55A9CB #7755CB
monochromatic
#7F6C27 #AE9435 #CBB255 #D9C784 #E8DCB3

Accessibility & contrast

On white

2.09
#CBB255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#CBB255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB255
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB255#FFFFFF#000000##000000
##CBB2551.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4C
Deuteranopia (green-blind)
#C9B759
Tritanopia (blue-blind)
#DAA69D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb255;
/* rgb */ color: rgb(203, 178, 85);
/* oklch */ color: oklch(76.7% 0.117 94.4);
Tailwind
colors: {
  custom: {
    50: '#dec888',
    500: '#cbb255',
    950: '#000000',
  },
}
SCSS
$custom: #cbb255;
$custom-light: #dec888;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb255",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 47.288,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76668,
    "c": 0.11654,
    "h": 94.4
  },
  "luminance": 0.45193
}

Semantic roles & 50–950 ramp

primary
#CBB255
secondary
#A6B0D6
accent
#6ADD4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130B
muted
#83827C

Preview Lab

Preview with #CBB255

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

Preview Lab → · Contrast checker → · Palette generator →

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