#CBD040#CBD040

#CBD040 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.8% C 0.161 H 111.4°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CBD040
RGBrgb(203, 208, 64)
HSLhsl(62, 61%, 53%)
HSVhsv(62, 69%, 82%)
CMYKcmyk(2.4%, 0%, 69.2%, 18.4%)
CIE-LABlab(80.84, -18.93, 67.12)
CIE-LCHlch(80.84, 69.74, 105.75°)
OKLaboklab(82.83% -0.0586 0.1495)
OKLCHoklch(82.83% 0.161 111.4)
XYZxyz(48.1114, 58.1796, 13.5449)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD040 #4540D0
analogous
#D08D40 #CBD040 #83D040
triadic
#CBD040 #40CBD0 #D040CB
tetradic
#CBD040 #40D08D #4540D0 #D04083
square
#CBD040 #40D08D #4540D0 #D04083
split-complementary
#CBD040 #4083D0 #8D40D0
monochromatic
#75781E #A5A92A #CBD040 #D8DC71 #E6E8A2

Accessibility & contrast

On white

1.66
#CBD040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#CBD040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD040
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD040#FFFFFF#000000##000000
##CBD0401.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C728
Deuteranopia (green-blind)
#E1CA4B
Tritanopia (blue-blind)
#D9C3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cbd040;
/* rgb */ color: rgb(203, 208, 64);
/* oklch */ color: oklch(82.8% 0.161 111.4);
Tailwind
colors: {
  custom: {
    50: '#dede7e',
    500: '#cbd040',
    950: '#000000',
  },
}
SCSS
$custom: #cbd040;
$custom-light: #dede7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd040",
  "rgb": {
    "r": 203,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 62.083,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.82831,
    "c": 0.16057,
    "h": 111.4
  },
  "luminance": 0.58178
}

Semantic roles & 50–950 ramp

primary
#CBD040
secondary
#373480
accent
#44E44A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CBD040

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

Preview Lab → · Contrast checker → · Palette generator →

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