#CBD778#CBD778

#CBD778 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.9% C 0.120 H 114.9°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#CBD778
RGBrgb(203, 215, 120)
HSLhsl(68, 54%, 66%)
HSVhsv(68, 44%, 84%)
CMYKcmyk(5.6%, 0%, 44.2%, 15.7%)
CIE-LABlab(83.26, -18.07, 45.33)
CIE-LCHlch(83.26, 48.80, 111.73°)
OKLaboklab(84.94% -0.0507 0.1091)
OKLCHoklch(84.94% 0.12 114.9)
XYZxyz(52.3198, 62.6541, 27.1029)
Luminance0.6265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD778 #8478D7
analogous
#D7B378 #CBD778 #9BD778
triadic
#CBD778 #78CBD7 #D778CB
tetradic
#CBD778 #78D7B3 #8478D7 #D7789B
square
#CBD778 #78D7B3 #8478D7 #D7789B
split-complementary
#CBD778 #789BD7 #B378D7
monochromatic
#95A431 #B9C949 #CBD778 #DDE5A7 #EFF3D6

Accessibility & contrast

On white

1.55
#CBD778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.53
#CBD778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD778
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD778#FFFFFF#000000##000000
##CBD7781.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF70
Deuteranopia (green-blind)
#E2D07D
Tritanopia (blue-blind)
#D5CDC0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cbd778;
/* rgb */ color: rgb(203, 215, 120);
/* oklch */ color: oklch(84.9% 0.120 114.9);
Tailwind
colors: {
  custom: {
    50: '#dce3a1',
    500: '#cbd778',
    950: '#000000',
  },
}
SCSS
$custom: #cbd778;
$custom-light: #dce3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd778",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 120
  },
  "hsl": {
    "h": 67.579,
    "s": 54.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84938,
    "c": 0.12028,
    "h": 114.9
  },
  "luminance": 0.62653
}

Semantic roles & 50–950 ramp

primary
#CBD778
secondary
#574BA8
accent
#24C238
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CBD778

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

Preview Lab → · Contrast checker → · Palette generator →

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