#CBB862#CBB862

#CBB862 is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.109 H 97.2°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CBB862
RGBrgb(203, 184, 98)
HSLhsl(49, 50%, 59%)
HSVhsv(49, 52%, 80%)
CMYKcmyk(0%, 9.4%, 51.7%, 20.4%)
CIE-LABlab(74.74, -4.39, 45.72)
CIE-LCHlch(74.74, 45.93, 95.49°)
OKLaboklab(78.07% -0.0136 0.1083)
OKLCHoklch(78.07% 0.109 97.2)
XYZxyz(43.9752, 47.8611, 18.4746)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB862 #6275CB
analogous
#CB8462 #CBB862 #AACB62
triadic
#CBB862 #62CBB8 #B862CB
tetradic
#CBB862 #62CB84 #6275CB #CB62AA
square
#CBB862 #62CB84 #6275CB #CB62AA
split-complementary
#CBB862 #62AACB #8462CB
monochromatic
#86762C #B49E3C #CBB862 #DACD90 #E9E2BE

Accessibility & contrast

On white

1.99
#CBB862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#CBB862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB862
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB862#FFFFFF#000000##000000
##CBB8621.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B45A
Deuteranopia (green-blind)
#CCBB66
Tritanopia (blue-blind)
#D9ADA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cbb862;
/* rgb */ color: rgb(203, 184, 98);
/* oklch */ color: oklch(78.1% 0.109 97.2);
Tailwind
colors: {
  custom: {
    50: '#ddcd91',
    500: '#cbb862',
    950: '#000000',
  },
}
SCSS
$custom: #cbb862;
$custom-light: #ddcd91;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb862",
  "rgb": {
    "r": 203,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 49.143,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.78073,
    "c": 0.10915,
    "h": 97.2
  },
  "luminance": 0.47859
}

Semantic roles & 50–950 ramp

primary
#CBB862
secondary
#B0B7D9
accent
#67DA4E
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E

Preview Lab

Preview with #CBB862

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

Preview Lab → · Contrast checker → · Palette generator →

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