#CBD772#CBD772

#CBD772 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.9% C 0.127 H 114.7°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#CBD772
RGBrgb(203, 215, 114)
HSLhsl(67, 56%, 65%)
HSVhsv(67, 47%, 84%)
CMYKcmyk(5.6%, 0%, 47%, 15.7%)
CIE-LABlab(83.19, -18.67, 48.14)
CIE-LCHlch(83.19, 51.64, 111.20°)
OKLaboklab(84.85% -0.0529 0.1149)
OKLCHoklch(84.85% 0.127 114.7)
XYZxyz(51.9670, 62.5130, 25.2449)
Luminance0.6251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD772 #7E72D7
analogous
#D7B172 #CBD772 #99D772
triadic
#CBD772 #72CBD7 #D772CB
tetradic
#CBD772 #72D7B1 #7E72D7 #D77299
square
#CBD772 #72D7B1 #7E72D7 #D77299
split-complementary
#CBD772 #7299D7 #B172D7
monochromatic
#93A12E #B9C942 #CBD772 #DDE5A2 #EEF2D1

Accessibility & contrast

On white

1.56
#CBD772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#CBD772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD772
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD772#FFFFFF#000000##000000
##CBD7721.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE69
Deuteranopia (green-blind)
#E3D077
Tritanopia (blue-blind)
#D5CDBF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cbd772;
/* rgb */ color: rgb(203, 215, 114);
/* oklch */ color: oklch(84.9% 0.127 114.7);
Tailwind
colors: {
  custom: {
    50: '#dce39d',
    500: '#cbd772',
    950: '#000000',
  },
}
SCSS
$custom: #cbd772;
$custom-light: #dce39d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd772",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 114
  },
  "hsl": {
    "h": 67.129,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.84854,
    "c": 0.12651,
    "h": 114.7
  },
  "luminance": 0.62512
}

Semantic roles & 50–950 ramp

primary
#CBD772
secondary
#5348A5
accent
#22C335
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CBD772

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

Preview Lab → · Contrast checker → · Palette generator →

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