#CBD740#CBD740

#CBD740 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.4% C 0.168 H 113.9°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#CBD740
RGBrgb(203, 215, 64)
HSLhsl(65, 65%, 55%)
HSVhsv(65, 70%, 84%)
CMYKcmyk(5.6%, 0%, 70.2%, 15.7%)
CIE-LABlab(82.74, -22.35, 68.99)
CIE-LCHlch(82.74, 72.52, 107.95°)
OKLaboklab(84.35% -0.0681 0.1534)
OKLCHoklch(84.35% 0.168 113.9)
XYZxyz(49.8559, 61.6685, 14.1264)
Luminance0.6167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD740 #4C40D7
analogous
#D79740 #CBD740 #80D740
triadic
#CBD740 #40CBD7 #D740CB
tetradic
#CBD740 #40D797 #4C40D7 #D74080
square
#CBD740 #40D797 #4C40D7 #D74080
split-complementary
#CBD740 #4080D7 #9740D7
monochromatic
#79811B #A9B426 #CBD740 #D9E273 #E7ECA5

Accessibility & contrast

On white

1.57
#CBD740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#CBD740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD740
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD740#FFFFFF#000000##000000
##CBD7401.001.5713.3313.33
#FFFFFF1.571.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD25
Deuteranopia (green-blind)
#E6CF4C
Tritanopia (blue-blind)
#D8CABA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cbd740;
/* rgb */ color: rgb(203, 215, 64);
/* oklch */ color: oklch(84.4% 0.168 113.9);
Tailwind
colors: {
  custom: {
    50: '#dee37e',
    500: '#cbd740',
    950: '#000000',
  },
}
SCSS
$custom: #cbd740;
$custom-light: #dee37e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd740",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 64
  },
  "hsl": {
    "h": 64.768,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84351,
    "c": 0.16788,
    "h": 113.9
  },
  "luminance": 0.61668
}

Semantic roles & 50–950 ramp

primary
#CBD740
secondary
#3A3388
accent
#3FE84D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD740

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

Preview Lab → · Contrast checker → · Palette generator →

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