#CBDB40#CBDB40

#CBDB40 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.2% C 0.172 H 115.3°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#CBDB40
RGBrgb(203, 219, 64)
HSLhsl(66, 68%, 55%)
HSVhsv(66, 71%, 86%)
CMYKcmyk(7.3%, 0%, 70.8%, 14.1%)
CIE-LABlab(83.83, -24.28, 70.05)
CIE-LCHlch(83.83, 74.14, 109.12°)
OKLaboklab(85.22% -0.0735 0.1557)
OKLCHoklch(85.22% 0.172 115.3)
XYZxyz(50.8869, 63.7306, 14.4701)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBDB40 #5040DB
analogous
#DB9E40 #CBDB40 #7DDB40
triadic
#CBDB40 #40CBDB #DB40CB
tetradic
#CBDB40 #40DB9E #5040DB #DB407D
square
#CBDB40 #40DB9E #5040DB #DB407D
split-complementary
#CBDB40 #407DDB #9E40DB
monochromatic
#7C8719 #ABBB23 #CBDB40 #D9E573 #E7EEA7

Accessibility & contrast

On white

1.53
#CBDB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#CBDB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBDB40
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBDB40#FFFFFF#000000##000000
##CBDB401.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD024
Deuteranopia (green-blind)
#E9D24C
Tritanopia (blue-blind)
#D8CEBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cbdb40;
/* rgb */ color: rgb(203, 219, 64);
/* oklch */ color: oklch(85.2% 0.172 115.3);
Tailwind
colors: {
  custom: {
    50: '#dee67f',
    500: '#cbdb40',
    950: '#000000',
  },
}
SCSS
$custom: #cbdb40;
$custom-light: #dee67f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbdb40",
  "rgb": {
    "r": 203,
    "g": 219,
    "b": 64
  },
  "hsl": {
    "h": 66.194,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85224,
    "c": 0.17216,
    "h": 115.3
  },
  "luminance": 0.6373
}

Semantic roles & 50–950 ramp

primary
#CBDB40
secondary
#3B328D
accent
#3DEB4F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBDB40

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

Preview Lab → · Contrast checker → · Palette generator →

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