#CBD271#CBD271

#CBD271 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.8% C 0.121 H 112.4°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#CBD271
RGBrgb(203, 210, 113)
HSLhsl(64, 52%, 63%)
HSVhsv(64, 46%, 82%)
CMYKcmyk(3.3%, 0%, 46.2%, 17.6%)
CIE-LABlab(81.83, -16.29, 46.98)
CIE-LCHlch(81.83, 49.72, 109.12°)
OKLaboklab(83.77% -0.0462 0.1123)
OKLCHoklch(83.77% 0.121 112.4)
XYZxyz(50.6566, 59.9828, 24.5289)
Luminance0.5998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD271 #7871D2
analogous
#D2A871 #CBD271 #9AD271
triadic
#CBD271 #71CBD2 #D271CB
tetradic
#CBD271 #71D2A8 #7871D2 #D2719A
square
#CBD271 #71D2A8 #7871D2 #D2719A
split-complementary
#CBD271 #719AD2 #A871D2
monochromatic
#919830 #BAC343 #CBD271 #DCE19F #EDEFCE

Accessibility & contrast

On white

1.62
#CBD271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#CBD271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD271
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD271#FFFFFF#000000##000000
##CBD2711.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCA69
Deuteranopia (green-blind)
#DFCD76
Tritanopia (blue-blind)
#D6C8BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cbd271;
/* rgb */ color: rgb(203, 210, 113);
/* oklch */ color: oklch(83.8% 0.121 112.4);
Tailwind
colors: {
  custom: {
    50: '#dcdf9c',
    500: '#cbd271',
    950: '#000000',
  },
}
SCSS
$custom: #cbd271;
$custom-light: #dcdf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd271",
  "rgb": {
    "r": 203,
    "g": 210,
    "b": 113
  },
  "hsl": {
    "h": 64.33,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83767,
    "c": 0.12142,
    "h": 112.4
  },
  "luminance": 0.59982
}

Semantic roles & 50–950 ramp

primary
#CBD271
secondary
#504A9E
accent
#26BF31
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CBD271

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

Preview Lab → · Contrast checker → · Palette generator →

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