#CBC388#CBC388

#CBC388 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.0% C 0.078 H 101.4°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CBC388
RGBrgb(203, 195, 136)
HSLhsl(53, 39%, 66%)
HSVhsv(53, 33%, 80%)
CMYKcmyk(0%, 3.9%, 33%, 20.4%)
CIE-LABlab(78.17, -6.12, 30.72)
CIE-LCHlch(78.17, 31.32, 101.28°)
OKLaboklab(80.97% -0.0154 0.0764)
OKLCHoklch(80.97% 0.078 101.4)
XYZxyz(48.5882, 53.5054, 31.0558)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC388 #8890CB
analogous
#CBA288 #CBC388 #B2CB88
triadic
#CBC388 #88CBC3 #C388CB
tetradic
#CBC388 #88CBA2 #8890CB #CB88B2
square
#CBC388 #88CBA2 #8890CB #CB88B2
split-complementary
#CBC388 #88B2CB #A288CB
monochromatic
#978D42 #B8AE5D #CBC388 #DED8B3 #F0EEDD

Accessibility & contrast

On white

1.79
#CBC388 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CBC388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC388
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC388#FFFFFF#000000##000000
##CBC3881.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF84
Deuteranopia (green-blind)
#D0C38A
Tritanopia (blue-blind)
#D5BBB4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc388;
/* rgb */ color: rgb(203, 195, 136);
/* oklch */ color: oklch(81.0% 0.078 101.4);
Tailwind
colors: {
  custom: {
    50: '#dbd5ab',
    500: '#cbc388',
    950: '#000000',
  },
}
SCSS
$custom: #cbc388;
$custom-light: #dbd5ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc388",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 136
  },
  "hsl": {
    "h": 52.836,
    "s": 39.181,
    "l": 66.471
  },
  "oklch": {
    "l": 0.80969,
    "c": 0.07792,
    "h": 101.4
  },
  "luminance": 0.53504
}

Semantic roles & 50–950 ramp

primary
#CBC388
secondary
#5A629E
accent
#42B233
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC388

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

Preview Lab → · Contrast checker → · Palette generator →

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