#CBD781#CBD781

#CBD781 is a very light, moderate yellow. Relative luminance 0.629; OKLCH L 85.1% C 0.111 H 115.3°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#CBD781
RGBrgb(203, 215, 129)
HSLhsl(68, 52%, 67%)
HSVhsv(68, 40%, 84%)
CMYKcmyk(5.6%, 0%, 40%, 15.7%)
CIE-LABlab(83.38, -17.10, 41.04)
CIE-LCHlch(83.38, 44.46, 112.62°)
OKLaboklab(85.07% -0.0472 0.1)
OKLCHoklch(85.07% 0.111 115.3)
XYZxyz(52.8919, 62.8829, 30.1159)
Luminance0.6288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD781 #8D81D7
analogous
#D7B881 #CBD781 #A0D781
triadic
#CBD781 #81CBD7 #D781CB
tetradic
#CBD781 #81D7B8 #8D81D7 #D781A0
square
#CBD781 #81D7B8 #8D81D7 #D781A0
split-complementary
#CBD781 #81A0D7 #B881D7
monochromatic
#98A835 #B8C853 #CBD781 #DEE6AF #F1F4DE

Accessibility & contrast

On white

1.55
#CBD781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#CBD781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD781
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD781#FFFFFF#000000##000000
##CBD7811.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7A
Deuteranopia (green-blind)
#E1D185
Tritanopia (blue-blind)
#D4CEC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cbd781;
/* rgb */ color: rgb(203, 215, 129);
/* oklch */ color: oklch(85.1% 0.111 115.3);
Tailwind
colors: {
  custom: {
    50: '#dce3a7',
    500: '#cbd781',
    950: '#000000',
  },
}
SCSS
$custom: #cbd781;
$custom-light: #dce3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd781",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 129
  },
  "hsl": {
    "h": 68.372,
    "s": 51.807,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85073,
    "c": 0.11054,
    "h": 115.3
  },
  "luminance": 0.62882
}

Semantic roles & 50–950 ramp

primary
#CBD781
secondary
#5D50AC
accent
#26BF3C
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD781

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

Preview Lab → · Contrast checker → · Palette generator →

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