#CBD871#CBD871

#CBD871 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.1% C 0.129 H 115.1°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#CBD871
RGBrgb(203, 216, 113)
HSLhsl(68, 57%, 65%)
HSVhsv(68, 48%, 85%)
CMYKcmyk(6%, 0%, 47.7%, 15.3%)
CIE-LABlab(83.44, -19.26, 48.93)
CIE-LCHlch(83.44, 52.59, 111.49°)
OKLaboklab(85.06% -0.0546 0.1166)
OKLCHoklch(85.06% 0.129 115.1)
XYZxyz(52.1658, 63.0012, 25.0319)
Luminance0.6300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD871 #7E71D8
analogous
#D8B271 #CBD871 #98D871
triadic
#CBD871 #71CBD8 #D871CB
tetradic
#CBD871 #71D8B2 #7E71D8 #D87198
square
#CBD871 #71D8B2 #7E71D8 #D87198
split-complementary
#CBD871 #7198D8 #B271D8
monochromatic
#93A22D #B9CB41 #CBD871 #DDE5A1 #EEF2D1

Accessibility & contrast

On white

1.54
#CBD871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#CBD871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD871
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD871#FFFFFF#000000##000000
##CBD8711.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF68
Deuteranopia (green-blind)
#E4D176
Tritanopia (blue-blind)
#D5CEC0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cbd871;
/* rgb */ color: rgb(203, 216, 113);
/* oklch */ color: oklch(85.1% 0.129 115.1);
Tailwind
colors: {
  custom: {
    50: '#dce49c',
    500: '#cbd871',
    950: '#000000',
  },
}
SCSS
$custom: #cbd871;
$custom-light: #dce49c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd871",
  "rgb": {
    "r": 203,
    "g": 216,
    "b": 113
  },
  "hsl": {
    "h": 67.573,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85056,
    "c": 0.12876,
    "h": 115.1
  },
  "luminance": 0.63
}

Semantic roles & 50–950 ramp

primary
#CBD871
secondary
#5347A6
accent
#21C436
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CBD871

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

Preview Lab → · Contrast checker → · Palette generator →

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