#CBD771#CBD771

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

Color values

HEX#CBD771
RGBrgb(203, 215, 113)
HSLhsl(67, 56%, 64%)
HSVhsv(67, 47%, 84%)
CMYKcmyk(5.6%, 0%, 47.4%, 15.7%)
CIE-LABlab(83.17, -18.77, 48.61)
CIE-LCHlch(83.17, 52.10, 111.11°)
OKLaboklab(84.84% -0.0533 0.1159)
OKLCHoklch(84.84% 0.128 114.7)
XYZxyz(51.9104, 62.4903, 24.9468)
Luminance0.6249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD771 #7D71D7
analogous
#D7B071 #CBD771 #98D771
triadic
#CBD771 #71CBD7 #D771CB
tetradic
#CBD771 #71D7B0 #7D71D7 #D77198
square
#CBD771 #71D7B0 #7D71D7 #D77198
split-complementary
#CBD771 #7198D7 #B071D7
monochromatic
#93A02D #BACA41 #CBD771 #DCE4A1 #EEF2D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBD771#FFFFFF#000000##000000
##CBD7711.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)
#E4CE68
Deuteranopia (green-blind)
#E3D076
Tritanopia (blue-blind)
#D5CDBF
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #cbd771;
/* rgb */ color: rgb(203, 215, 113);
/* oklch */ color: oklch(84.8% 0.128 114.7);
Tailwind
colors: {
  custom: {
    50: '#dce39c',
    500: '#cbd771',
    950: '#000000',
  },
}
SCSS
$custom: #cbd771;
$custom-light: #dce39c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd771",
  "rgb": {
    "r": 203,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 67.059,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84841,
    "c": 0.12752,
    "h": 114.7
  },
  "luminance": 0.6249
}

Semantic roles & 50–950 ramp

primary
#CBD771
secondary
#5348A4
accent
#22C435
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CBD771

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

Preview Lab → · Contrast checker → · Palette generator →

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