#CBC992#CBC992

#CBC992 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.073 H 106.1°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#CBC992
RGBrgb(203, 201, 146)
HSLhsl(58, 35%, 68%)
HSVhsv(58, 28%, 80%)
CMYKcmyk(0%, 1%, 28.1%, 20.4%)
CIE-LABlab(79.92, -7.95, 27.82)
CIE-LCHlch(79.92, 28.93, 105.95°)
OKLaboklab(82.41% -0.0202 0.0698)
OKLCHoklch(82.41% 0.073 106.1)
XYZxyz(50.7037, 56.5460, 35.4320)
Luminance0.5655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC992 #9294CB
analogous
#CBAC92 #CBC992 #B0CB92
triadic
#CBC992 #92CBC9 #C992CB
tetradic
#CBC992 #92CBAC #9294CB #CB92B0
square
#CBC992 #92CBAC #9294CB #CB92B0
split-complementary
#CBC992 #92B0CB #AC92CB
monochromatic
#999749 #B7B469 #CBC992 #DFDEBB #F3F2E5

Accessibility & contrast

On white

1.71
#CBC992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#CBC992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC992
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC992#FFFFFF#000000##000000
##CBC9921.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C58E
Deuteranopia (green-blind)
#D4C794
Tritanopia (blue-blind)
#D3C2BB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbc992;
/* rgb */ color: rgb(203, 201, 146);
/* oklch */ color: oklch(82.4% 0.073 106.1);
Tailwind
colors: {
  custom: {
    50: '#dbd9b2',
    500: '#cbc992',
    950: '#000000',
  },
}
SCSS
$custom: #cbc992;
$custom-light: #dbd9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc992",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 146
  },
  "hsl": {
    "h": 57.895,
    "s": 35.404,
    "l": 68.431
  },
  "oklch": {
    "l": 0.82412,
    "c": 0.07265,
    "h": 106.1
  },
  "luminance": 0.56545
}

Semantic roles & 50–950 ramp

primary
#CBC992
secondary
#6163A0
accent
#3BAE37
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CBC992

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

Preview Lab → · Contrast checker → · Palette generator →

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