#CBCE87#CBCE87

#CBCE87 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.092 H 110.3°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#CBCE87
RGBrgb(203, 206, 135)
HSLhsl(63, 42%, 67%)
HSVhsv(63, 34%, 81%)
CMYKcmyk(1.5%, 0%, 34.5%, 19.2%)
CIE-LABlab(81.07, -11.89, 35.03)
CIE-LCHlch(81.07, 36.99, 108.75°)
OKLaboklab(83.26% -0.032 0.0864)
OKLCHoklch(83.26% 0.092 110.3)
XYZxyz(51.0735, 58.5892, 31.5353)
Luminance0.5859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCE87 #8A87CE
analogous
#CEAE87 #CBCE87 #A8CE87
triadic
#CBCE87 #87CBCE #CE87CB
tetradic
#CBCE87 #87CEAE #8A87CE #CE87A8
square
#CBCE87 #87CEAE #8A87CE #CE87A8
split-complementary
#CBCE87 #87A8CE #AE87CE
monochromatic
#979B3F #B8BC5C #CBCE87 #DEE0B2 #F1F1DE

Accessibility & contrast

On white

1.65
#CBCE87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#CBCE87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCE87
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCE87#FFFFFF#000000##000000
##CBCE871.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C882
Deuteranopia (green-blind)
#D9CA8A
Tritanopia (blue-blind)
#D4C6BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbce87;
/* rgb */ color: rgb(203, 206, 135);
/* oklch */ color: oklch(83.3% 0.092 110.3);
Tailwind
colors: {
  custom: {
    50: '#dcdcaa',
    500: '#cbce87',
    950: '#000000',
  },
}
SCSS
$custom: #cbce87;
$custom-light: #dcdcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cbce87",
  "rgb": {
    "r": 203,
    "g": 206,
    "b": 135
  },
  "hsl": {
    "h": 62.535,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.83259,
    "c": 0.09214,
    "h": 110.3
  },
  "luminance": 0.58588
}

Semantic roles & 50–950 ramp

primary
#CBCE87
secondary
#5B58A1
accent
#30B536
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CBCE87

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

Preview Lab → · Contrast checker → · Palette generator →

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