#CBB158#CBB158

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

Color values

HEX#CBB158
RGBrgb(203, 177, 88)
HSLhsl(46, 53%, 57%)
HSVhsv(46, 57%, 80%)
CMYKcmyk(0%, 12.8%, 56.7%, 20.4%)
CIE-LABlab(72.79, -1.54, 48.28)
CIE-LCHlch(72.79, 48.31, 91.83°)
OKLaboklab(76.5% -0.0065 0.1129)
OKLCHoklch(76.5% 0.113 93.3)
XYZxyz(42.1139, 44.8474, 15.6688)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB158 #5872CB
analogous
#CB7858 #CBB158 #ABCB58
triadic
#CBB158 #58CBB1 #B158CB
tetradic
#CBB158 #58CB78 #5872CB #CB58AB
square
#CBB158 #58CB78 #5872CB #CB58AB
split-complementary
#CBB158 #58ABCB #7858CB
monochromatic
#816D28 #AF9437 #CBB158 #DAC787 #E8DDB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB158#FFFFFF#000000##000000
##CBB1581.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)
#C1AE4F
Deuteranopia (green-blind)
#C8B65C
Tritanopia (blue-blind)
#DAA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb158;
/* rgb */ color: rgb(203, 177, 88);
/* oklch */ color: oklch(76.5% 0.113 93.3);
Tailwind
colors: {
  custom: {
    50: '#ddc88a',
    500: '#cbb158',
    950: '#000000',
  },
}
SCSS
$custom: #cbb158;
$custom-light: #ddc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb158",
  "rgb": {
    "r": 203,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 46.435,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.76498,
    "c": 0.11307,
    "h": 93.3
  },
  "luminance": 0.44845
}

Semantic roles & 50–950 ramp

primary
#CBB158
secondary
#A8B3D7
accent
#6CDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB158

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

Preview Lab → · Contrast checker → · Palette generator →

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