#CBD171#CBD171

#CBD171 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.6% C 0.120 H 111.9°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#CBD171
RGBrgb(203, 209, 113)
HSLhsl(64, 51%, 63%)
HSVhsv(64, 46%, 82%)
CMYKcmyk(2.9%, 0%, 45.9%, 18%)
CIE-LABlab(81.56, -15.79, 46.65)
CIE-LCHlch(81.56, 49.25, 108.70°)
OKLaboklab(83.55% -0.0448 0.1116)
OKLCHoklch(83.55% 0.12 111.9)
XYZxyz(50.4105, 59.4906, 24.4468)
Luminance0.5949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD171 #7771D1
analogous
#D1A771 #CBD171 #9BD171
triadic
#CBD171 #71CBD1 #D171CB
tetradic
#CBD171 #71D1A7 #7771D1 #D1719B
square
#CBD171 #71D1A7 #7771D1 #D1719B
split-complementary
#CBD171 #719BD1 #A771D1
monochromatic
#909731 #BAC243 #CBD171 #DCE09F #EDEFCD

Accessibility & contrast

On white

1.63
#CBD171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#CBD171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD171
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD171#FFFFFF#000000##000000
##CBD1711.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC969
Deuteranopia (green-blind)
#DECC76
Tritanopia (blue-blind)
#D6C7BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd171;
/* rgb */ color: rgb(203, 209, 113);
/* oklch */ color: oklch(83.6% 0.120 111.9);
Tailwind
colors: {
  custom: {
    50: '#dcdf9c',
    500: '#cbd171',
    950: '#000000',
  },
}
SCSS
$custom: #cbd171;
$custom-light: #dcdf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd171",
  "rgb": {
    "r": 203,
    "g": 209,
    "b": 113
  },
  "hsl": {
    "h": 63.75,
    "s": 51.064,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83553,
    "c": 0.12021,
    "h": 111.9
  },
  "luminance": 0.5949
}

Semantic roles & 50–950 ramp

primary
#CBD171
secondary
#4F4A9C
accent
#27BE31
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CBD171

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

Preview Lab → · Contrast checker → · Palette generator →

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