#CBB162#CBB162

#CBB162 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.103 H 91.6°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#CBB162
RGBrgb(203, 177, 98)
HSLhsl(45, 50%, 59%)
HSVhsv(45, 52%, 80%)
CMYKcmyk(0%, 12.8%, 51.7%, 20.4%)
CIE-LABlab(72.91, -0.71, 43.52)
CIE-LCHlch(72.91, 43.53, 90.94°)
OKLaboklab(76.63% -0.0029 0.1035)
OKLCHoklch(76.63% 0.104 91.6)
XYZxyz(42.5569, 45.0246, 18.0019)
Luminance0.4502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB162 #627CCB
analogous
#CB7D62 #CBB162 #B1CB62
triadic
#CBB162 #62CBB1 #B162CB
tetradic
#CBB162 #62CB7D #627CCB #CB62B1
square
#CBB162 #62CB7D #627CCB #CB62B1
split-complementary
#CBB162 #62B1CB #7D62CB
monochromatic
#86702C #B4963C #CBB162 #DAC890 #E9DFBE

Accessibility & contrast

On white

2.10
#CBB162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#CBB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB162
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB162#FFFFFF#000000##000000
##CBB1621.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AF5B
Deuteranopia (green-blind)
#C7B665
Tritanopia (blue-blind)
#D9A69E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb162;
/* rgb */ color: rgb(203, 177, 98);
/* oklch */ color: oklch(76.6% 0.103 91.6);
Tailwind
colors: {
  custom: {
    50: '#ddc890',
    500: '#cbb162',
    950: '#000000',
  },
}
SCSS
$custom: #cbb162;
$custom-light: #ddc890;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb162",
  "rgb": {
    "r": 203,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 45.143,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.76628,
    "c": 0.1035,
    "h": 91.6
  },
  "luminance": 0.45023
}

Semantic roles & 50–950 ramp

primary
#CBB162
secondary
#B0BAD9
accent
#71DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D

Preview Lab

Preview with #CBB162

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

Preview Lab → · Contrast checker → · Palette generator →

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