#CBB159#CBB159

#CBB159 is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.112 H 93.1°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#CBB159
RGBrgb(203, 177, 89)
HSLhsl(46, 52%, 57%)
HSVhsv(46, 56%, 80%)
CMYKcmyk(0%, 12.8%, 56.2%, 20.4%)
CIE-LABlab(72.80, -1.46, 47.81)
CIE-LCHlch(72.80, 47.84, 91.75°)
OKLaboklab(76.51% -0.0061 0.112)
OKLCHoklch(76.51% 0.112 93.1)
XYZxyz(42.1556, 44.8641, 15.8884)
Luminance0.4486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB159 #5973CB
analogous
#CB7859 #CBB159 #ACCB59
triadic
#CBB159 #59CBB1 #B159CB
tetradic
#CBB159 #59CB78 #5973CB #CB59AC
square
#CBB159 #59CB78 #5973CB #CB59AC
split-complementary
#CBB159 #59ACCB #7859CB
monochromatic
#816D28 #B09437 #CBB159 #DAC788 #E8DDB6

Accessibility & contrast

On white

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

On black

9.97
#CBB159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB159
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB159#FFFFFF#000000##000000
##CBB1591.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE51
Deuteranopia (green-blind)
#C8B65D
Tritanopia (blue-blind)
#DAA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb159;
/* rgb */ color: rgb(203, 177, 89);
/* oklch */ color: oklch(76.5% 0.112 93.1);
Tailwind
colors: {
  custom: {
    50: '#ddc88a',
    500: '#cbb159',
    950: '#000000',
  },
}
SCSS
$custom: #cbb159;
$custom-light: #ddc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb159",
  "rgb": {
    "r": 203,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 46.316,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.7651,
    "c": 0.11214,
    "h": 93.1
  },
  "luminance": 0.44862
}

Semantic roles & 50–950 ramp

primary
#CBB159
secondary
#A9B3D7
accent
#6DDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB159

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

Preview Lab → · Contrast checker → · Palette generator →

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