#CBD87B#CBD87B

#CBD87B is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.2% C 0.118 H 115.5°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#CBD87B
RGBrgb(203, 216, 123)
HSLhsl(68, 54%, 66%)
HSVhsv(68, 43%, 85%)
CMYKcmyk(6%, 0%, 43.1%, 15.3%)
CIE-LABlab(83.57, -18.25, 44.24)
CIE-LCHlch(83.57, 47.86, 112.42°)
OKLaboklab(85.2% -0.0509 0.1069)
OKLCHoklch(85.2% 0.118 115.5)
XYZxyz(52.7601, 63.2389, 28.1620)
Luminance0.6324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD87B #887BD8
analogous
#D8B77B #CBD87B #9DD87B
triadic
#CBD87B #7BCBD8 #D87BCB
tetradic
#CBD87B #7BD8B7 #887BD8 #D87B9D
square
#CBD87B #7BD8B7 #887BD8 #D87B9D
split-complementary
#CBD87B #7B9DD8 #B77BD8
monochromatic
#97A731 #B8CA4C #CBD87B #DEE6AA #F0F4D9

Accessibility & contrast

On white

1.54
#CBD87B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#CBD87B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD87B
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD87B#FFFFFF#000000##000000
##CBD87B1.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D073
Deuteranopia (green-blind)
#E3D180
Tritanopia (blue-blind)
#D4CFC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cbd87b;
/* rgb */ color: rgb(203, 216, 123);
/* oklch */ color: oklch(85.2% 0.118 115.5);
Tailwind
colors: {
  custom: {
    50: '#dce4a3',
    500: '#cbd87b',
    950: '#000000',
  },
}
SCSS
$custom: #cbd87b;
$custom-light: #dce4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd87b",
  "rgb": {
    "r": 203,
    "g": 216,
    "b": 123
  },
  "hsl": {
    "h": 68.387,
    "s": 54.386,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85196,
    "c": 0.11837,
    "h": 115.5
  },
  "luminance": 0.63238
}

Semantic roles & 50–950 ramp

primary
#CBD87B
secondary
#5A4DAB
accent
#24C23A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD87B

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

Preview Lab → · Contrast checker → · Palette generator →

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