#CBD478#CBD478

#CBD478 is a very light, moderate yellow. Relative luminance 0.611; OKLCH L 84.3% C 0.117 H 113.5°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#CBD478
RGBrgb(203, 212, 120)
HSLhsl(66, 52%, 65%)
HSVhsv(66, 43%, 83%)
CMYKcmyk(4.2%, 0%, 43.4%, 16.9%)
CIE-LABlab(82.45, -16.58, 44.33)
CIE-LCHlch(82.45, 47.33, 110.51°)
OKLaboklab(84.3% -0.0464 0.1069)
OKLCHoklch(84.3% 0.117 113.5)
XYZxyz(51.5629, 61.1403, 26.8506)
Luminance0.6114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD478 #8178D4
analogous
#D4AF78 #CBD478 #9DD478
triadic
#CBD478 #78CBD4 #D478CB
tetradic
#CBD478 #78D4AF #8178D4 #D4789D
square
#CBD478 #78D4AF #8178D4 #D4789D
split-complementary
#CBD478 #789DD4 #AF78D4
monochromatic
#949F33 #B9C54A #CBD478 #DDE3A6 #EFF2D5

Accessibility & contrast

On white

1.59
#CBD478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#CBD478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD478
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD478#FFFFFF#000000##000000
##CBD4781.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC71
Deuteranopia (green-blind)
#E0CE7C
Tritanopia (blue-blind)
#D5CABE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cbd478;
/* rgb */ color: rgb(203, 212, 120);
/* oklch */ color: oklch(84.3% 0.117 113.5);
Tailwind
colors: {
  custom: {
    50: '#dce1a0',
    500: '#cbd478',
    950: '#000000',
  },
}
SCSS
$custom: #cbd478;
$custom-light: #dce1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd478",
  "rgb": {
    "r": 203,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 65.87,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.84295,
    "c": 0.11651,
    "h": 113.5
  },
  "luminance": 0.6114
}

Semantic roles & 50–950 ramp

primary
#CBD478
secondary
#554DA4
accent
#26BF35
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD478

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

Preview Lab → · Contrast checker → · Palette generator →

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