#CBD782#CBD782

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

Color values

HEX#CBD782
RGBrgb(203, 215, 130)
HSLhsl(68, 52%, 68%)
HSVhsv(68, 40%, 84%)
CMYKcmyk(5.6%, 0%, 39.5%, 15.7%)
CIE-LABlab(83.39, -16.99, 40.56)
CIE-LCHlch(83.39, 43.97, 112.73°)
OKLaboklab(85.09% -0.0468 0.0989)
OKLCHoklch(85.09% 0.109 115.3)
XYZxyz(52.9587, 62.9096, 30.4677)
Luminance0.6291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD782 #8E82D7
analogous
#D7B982 #CBD782 #A0D782
triadic
#CBD782 #82CBD7 #D782CB
tetradic
#CBD782 #82D7B9 #8E82D7 #D782A0
square
#CBD782 #82D7B9 #8E82D7 #D782A0
split-complementary
#CBD782 #82A0D7 #B982D7
monochromatic
#98A936 #B8C854 #CBD782 #DEE6B0 #F2F5DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBD782#FFFFFF#000000##000000
##CBD7821.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)
#E2CF7C
Deuteranopia (green-blind)
#E1D186
Tritanopia (blue-blind)
#D4CEC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cbd782;
/* rgb */ color: rgb(203, 215, 130);
/* oklch */ color: oklch(85.1% 0.109 115.3);
Tailwind
colors: {
  custom: {
    50: '#dce3a7',
    500: '#cbd782',
    950: '#000000',
  },
}
SCSS
$custom: #cbd782;
$custom-light: #dce3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd782",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 130
  },
  "hsl": {
    "h": 68.471,
    "s": 51.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85089,
    "c": 0.10943,
    "h": 115.3
  },
  "luminance": 0.62909
}

Semantic roles & 50–950 ramp

primary
#CBD782
secondary
#5E51AC
accent
#27BF3C
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD782

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

Preview Lab → · Contrast checker → · Palette generator →

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