#CBD540#CBD540

#CBD540 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 83.9% C 0.166 H 113.3°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#CBD540
RGBrgb(203, 213, 64)
HSLhsl(64, 64%, 54%)
HSVhsv(64, 70%, 84%)
CMYKcmyk(4.7%, 0%, 70%, 16.5%)
CIE-LABlab(82.19, -21.38, 68.46)
CIE-LCHlch(82.19, 71.72, 107.34°)
OKLaboklab(83.92% -0.0654 0.1523)
OKLCHoklch(83.92% 0.166 113.3)
XYZxyz(49.3497, 60.6562, 13.9577)
Luminance0.6066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD540 #4A40D5
analogous
#D59540 #CBD540 #81D540
triadic
#CBD540 #40CBD5 #D540CB
tetradic
#CBD540 #40D595 #4A40D5 #D54081
square
#CBD540 #40D595 #4A40D5 #D54081
split-complementary
#CBD540 #4081D5 #9540D5
monochromatic
#787F1C #A8B127 #CBD540 #D9E072 #E6EBA4

Accessibility & contrast

On white

1.60
#CBD540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#CBD540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD540
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD540#FFFFFF#000000##000000
##CBD5401.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB26
Deuteranopia (green-blind)
#E5CE4B
Tritanopia (blue-blind)
#D8C8B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cbd540;
/* rgb */ color: rgb(203, 213, 64);
/* oklch */ color: oklch(83.9% 0.166 113.3);
Tailwind
colors: {
  custom: {
    50: '#dee17e',
    500: '#cbd540',
    950: '#000000',
  },
}
SCSS
$custom: #cbd540;
$custom-light: #dee17e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd540",
  "rgb": {
    "r": 203,
    "g": 213,
    "b": 64
  },
  "hsl": {
    "h": 64.027,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83916,
    "c": 0.16577,
    "h": 113.3
  },
  "luminance": 0.60655
}

Semantic roles & 50–950 ramp

primary
#CBD540
secondary
#393386
accent
#41E74C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD540

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

Preview Lab → · Contrast checker → · Palette generator →

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