#CBD948#CBD948

#CBD948 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 84.8% C 0.165 H 114.7°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#CBD948
RGBrgb(203, 217, 72)
HSLhsl(66, 66%, 57%)
HSVhsv(66, 67%, 85%)
CMYKcmyk(6.5%, 0%, 66.8%, 14.9%)
CIE-LABlab(83.33, -22.89, 66.65)
CIE-LCHlch(83.33, 70.47, 108.95°)
OKLaboklab(84.85% -0.0689 0.1498)
OKLCHoklch(84.85% 0.165 114.7)
XYZxyz(50.6125, 62.7910, 15.5833)
Luminance0.6279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD948 #5648D9
analogous
#D99F48 #CBD948 #83D948
triadic
#CBD948 #48CBD9 #D948CB
tetradic
#CBD948 #48D99F #5648D9 #D94883
square
#CBD948 #48D99F #5648D9 #D94883
split-complementary
#CBD948 #4883D9 #9F48D9
monochromatic
#7F8A1D #AEBD27 #CBD948 #D9E47B #E8EEAD

Accessibility & contrast

On white

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

On black

13.56
#CBD948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD948
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD948#FFFFFF#000000##000000
##CBD9481.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE32
Deuteranopia (green-blind)
#E7D153
Tritanopia (blue-blind)
#D8CDBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cbd948;
/* rgb */ color: rgb(203, 217, 72);
/* oklch */ color: oklch(84.8% 0.165 114.7);
Tailwind
colors: {
  custom: {
    50: '#dee483',
    500: '#cbd948',
    950: '#000000',
  },
}
SCSS
$custom: #cbd948;
$custom-light: #dee483;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd948",
  "rgb": {
    "r": 203,
    "g": 217,
    "b": 72
  },
  "hsl": {
    "h": 65.793,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84845,
    "c": 0.16487,
    "h": 114.7
  },
  "luminance": 0.6279
}

Semantic roles & 50–950 ramp

primary
#CBD948
secondary
#3E3590
accent
#3FE950
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CBD948

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

Preview Lab → · Contrast checker → · Palette generator →

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