#CBC288#CBC288

#CBC288 is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.077 H 100.4°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CBC288
RGBrgb(203, 194, 136)
HSLhsl(52, 39%, 66%)
HSVhsv(52, 33%, 80%)
CMYKcmyk(0%, 4.4%, 33%, 20.4%)
CIE-LABlab(77.91, -5.60, 30.37)
CIE-LCHlch(77.91, 30.88, 100.46°)
OKLaboklab(80.76% -0.0139 0.0756)
OKLCHoklch(80.76% 0.077 100.4)
XYZxyz(48.3649, 53.0588, 30.9814)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC288 #8891CB
analogous
#CBA188 #CBC288 #B3CB88
triadic
#CBC288 #88CBC2 #C288CB
tetradic
#CBC288 #88CBA1 #8891CB #CB88B3
square
#CBC288 #88CBA1 #8891CB #CB88B3
split-complementary
#CBC288 #88B3CB #A188CB
monochromatic
#978B42 #B8AC5D #CBC288 #DED8B3 #F0EEDD

Accessibility & contrast

On white

1.81
#CBC288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CBC288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC288
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC288#FFFFFF#000000##000000
##CBC2881.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE84
Deuteranopia (green-blind)
#D0C28A
Tritanopia (blue-blind)
#D5BAB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc288;
/* rgb */ color: rgb(203, 194, 136);
/* oklch */ color: oklch(80.8% 0.077 100.4);
Tailwind
colors: {
  custom: {
    50: '#dbd4ab',
    500: '#cbc288',
    950: '#000000',
  },
}
SCSS
$custom: #cbc288;
$custom-light: #dbd4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc288",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 136
  },
  "hsl": {
    "h": 51.94,
    "s": 39.181,
    "l": 66.471
  },
  "oklch": {
    "l": 0.80761,
    "c": 0.07684,
    "h": 100.4
  },
  "luminance": 0.53058
}

Semantic roles & 50–950 ramp

primary
#CBC288
secondary
#5A639E
accent
#44B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC288

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

Preview Lab → · Contrast checker → · Palette generator →

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