#CBD371#CBD371

#CBD371 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.0% C 0.123 H 112.9°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#CBD371
RGBrgb(203, 211, 113)
HSLhsl(65, 53%, 64%)
HSVhsv(65, 46%, 83%)
CMYKcmyk(3.8%, 0%, 46.4%, 17.3%)
CIE-LABlab(82.10, -16.79, 47.30)
CIE-LCHlch(82.10, 50.19, 109.54°)
OKLaboklab(83.98% -0.0476 0.113)
OKLCHoklch(83.98% 0.123 112.9)
XYZxyz(50.9043, 60.4781, 24.6114)
Luminance0.6048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD371 #7971D3
analogous
#D3AA71 #CBD371 #9AD371
triadic
#CBD371 #71CBD3 #D371CB
tetradic
#CBD371 #71D3AA #7971D3 #D3719A
square
#CBD371 #71D3AA #7971D3 #D3719A
split-complementary
#CBD371 #719AD3 #AA71D3
monochromatic
#919A30 #BAC542 #CBD371 #DCE1A0 #EDF0CE

Accessibility & contrast

On white

1.60
#CBD371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#CBD371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD371
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD371#FFFFFF#000000##000000
##CBD3711.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB69
Deuteranopia (green-blind)
#E0CD76
Tritanopia (blue-blind)
#D6C9BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cbd371;
/* rgb */ color: rgb(203, 211, 113);
/* oklch */ color: oklch(84.0% 0.123 112.9);
Tailwind
colors: {
  custom: {
    50: '#dce09c',
    500: '#cbd371',
    950: '#000000',
  },
}
SCSS
$custom: #cbd371;
$custom-light: #dce09c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd371",
  "rgb": {
    "r": 203,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 64.898,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83981,
    "c": 0.12263,
    "h": 112.9
  },
  "luminance": 0.60477
}

Semantic roles & 50–950 ramp

primary
#CBD371
secondary
#50499F
accent
#25C032
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CBD371

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

Preview Lab → · Contrast checker → · Palette generator →

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