#CBD381#CBD381

#CBD381 is a very light, moderate yellow. Relative luminance 0.609; OKLCH L 84.2% C 0.105 H 113.2°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#CBD381
RGBrgb(203, 211, 129)
HSLhsl(66, 48%, 67%)
HSVhsv(66, 39%, 83%)
CMYKcmyk(3.8%, 0%, 38.9%, 17.3%)
CIE-LABlab(82.31, -15.11, 39.67)
CIE-LCHlch(82.31, 42.45, 110.85°)
OKLaboklab(84.22% -0.0415 0.0969)
OKLCHoklch(84.22% 0.105 113.2)
XYZxyz(51.8858, 60.8707, 29.7805)
Luminance0.6087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD381 #8981D3
analogous
#D3B281 #CBD381 #A2D381
triadic
#CBD381 #81CBD3 #D381CB
tetradic
#CBD381 #81D3B2 #8981D3 #D381A2
square
#CBD381 #81D3B2 #8981D3 #D381A2
split-complementary
#CBD381 #81A2D3 #B281D3
monochromatic
#97A138 #B8C354 #CBD381 #DEE3AE #F0F3DC

Accessibility & contrast

On white

1.59
#CBD381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#CBD381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD381
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD381#FFFFFF#000000##000000
##CBD3811.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECC7B
Deuteranopia (green-blind)
#DECE85
Tritanopia (blue-blind)
#D4CABF
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cbd381;
/* rgb */ color: rgb(203, 211, 129);
/* oklch */ color: oklch(84.2% 0.105 113.2);
Tailwind
colors: {
  custom: {
    50: '#dce0a6',
    500: '#cbd381',
    950: '#000000',
  },
}
SCSS
$custom: #cbd381;
$custom-light: #dce0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd381",
  "rgb": {
    "r": 203,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 65.854,
    "s": 48.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84219,
    "c": 0.10538,
    "h": 113.2
  },
  "luminance": 0.6087
}

Semantic roles & 50–950 ramp

primary
#CBD381
secondary
#5A52A6
accent
#2ABC38
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD381

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

Preview Lab → · Contrast checker → · Palette generator →

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