#CBD981#CBD981

#CBD981 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.113 H 116.2°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#CBD981
RGBrgb(203, 217, 129)
HSLhsl(70, 54%, 68%)
HSVhsv(70, 41%, 85%)
CMYKcmyk(6.5%, 0%, 40.6%, 14.9%)
CIE-LABlab(83.92, -18.09, 41.72)
CIE-LCHlch(83.92, 45.47, 113.45°)
OKLaboklab(85.5% -0.05 0.1015)
OKLCHoklch(85.5% 0.113 116.2)
XYZxyz(53.4042, 63.9077, 30.2867)
Luminance0.6391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD981 #8F81D9
analogous
#D9BB81 #CBD981 #9FD981
triadic
#CBD981 #81CBD9 #D981CB
tetradic
#CBD981 #81D9BB #8F81D9 #D9819F
square
#CBD981 #81D9BB #8F81D9 #D9819F
split-complementary
#CBD981 #819FD9 #BB81D9
monochromatic
#99AC34 #B8CB52 #CBD981 #DEE7B0 #F2F5DF

Accessibility & contrast

On white

1.52
#CBD981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#CBD981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD981
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD981#FFFFFF#000000##000000
##CBD9811.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D17A
Deuteranopia (green-blind)
#E3D285
Tritanopia (blue-blind)
#D4D0C4
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cbd981;
/* rgb */ color: rgb(203, 217, 129);
/* oklch */ color: oklch(85.5% 0.113 116.2);
Tailwind
colors: {
  custom: {
    50: '#dce4a7',
    500: '#cbd981',
    950: '#000000',
  },
}
SCSS
$custom: #cbd981;
$custom-light: #dce4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd981",
  "rgb": {
    "r": 203,
    "g": 217,
    "b": 129
  },
  "hsl": {
    "h": 69.545,
    "s": 53.659,
    "l": 67.843
  },
  "oklch": {
    "l": 0.85502,
    "c": 0.11316,
    "h": 116.2
  },
  "luminance": 0.63907
}

Semantic roles & 50–950 ramp

primary
#CBD981
secondary
#5F4FAF
accent
#24C13D
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD981

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

Preview Lab → · Contrast checker → · Palette generator →

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