#CBD954#CBD954

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

Color values

HEX#CBD954
RGBrgb(203, 217, 84)
HSLhsl(66, 64%, 59%)
HSVhsv(66, 61%, 85%)
CMYKcmyk(6.5%, 0%, 61.3%, 14.9%)
CIE-LABlab(83.42, -22.13, 61.96)
CIE-LCHlch(83.42, 65.79, 109.66°)
OKLaboklab(84.95% -0.0656 0.1416)
OKLCHoklch(84.95% 0.156 114.9)
XYZxyz(51.0428, 62.9631, 17.8500)
Luminance0.6296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD954 #6254D9
analogous
#D9A554 #CBD954 #89D954
triadic
#CBD954 #54CBD9 #D954CB
tetradic
#CBD954 #54D9A5 #6254D9 #D95489
square
#CBD954 #54D9A5 #6254D9 #D95489
split-complementary
#CBD954 #5489D9 #A554D9
monochromatic
#869220 #B4C42C #CBD954 #DAE486 #E9EFB8

Accessibility & contrast

On white

1.54
#CBD954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#CBD954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD954
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD954#FFFFFF#000000##000000
##CBD9541.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF44
Deuteranopia (green-blind)
#E7D15D
Tritanopia (blue-blind)
#D7CDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cbd954;
/* rgb */ color: rgb(203, 217, 84);
/* oklch */ color: oklch(84.9% 0.156 114.9);
Tailwind
colors: {
  custom: {
    50: '#dee48a',
    500: '#cbd954',
    950: '#000000',
  },
}
SCSS
$custom: #cbd954;
$custom-light: #dee48a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd954",
  "rgb": {
    "r": 203,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 66.316,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84946,
    "c": 0.15607,
    "h": 114.9
  },
  "luminance": 0.62962
}

Semantic roles & 50–950 ramp

primary
#CBD954
secondary
#443A97
accent
#41E753
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CBD954

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

Preview Lab → · Contrast checker → · Palette generator →

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