#CBD873#CBD873

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

Color values

HEX#CBD873
RGBrgb(203, 216, 115)
HSLhsl(68, 56%, 65%)
HSVhsv(68, 47%, 85%)
CMYKcmyk(6%, 0%, 46.8%, 15.3%)
CIE-LABlab(83.47, -19.07, 48.00)
CIE-LCHlch(83.47, 51.65, 111.66°)
OKLaboklab(85.08% -0.0539 0.1147)
OKLCHoklch(85.08% 0.127 115.2)
XYZxyz(52.2796, 63.0467, 25.6315)
Luminance0.6305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBD873 #8073D8
analogous
#D8B373 #CBD873 #98D873
triadic
#CBD873 #73CBD8 #D873CB
tetradic
#CBD873 #73D8B3 #8073D8 #D87398
square
#CBD873 #73D8B3 #8073D8 #D87398
split-complementary
#CBD873 #7398D8 #B373D8
monochromatic
#94A32D #B9CB43 #CBD873 #DDE5A3 #EFF3D3

Accessibility & contrast

On white

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

On black

13.61
#CBD873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBD873
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBD873#FFFFFF#000000##000000
##CBD8731.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbd873;
/* rgb */ color: rgb(203, 216, 115);
/* oklch */ color: oklch(85.1% 0.127 115.2);
Tailwind
colors: {
  custom: {
    50: '#dce49d',
    500: '#cbd873',
    950: '#000000',
  },
}
SCSS
$custom: #cbd873;
$custom-light: #dce49d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbd873",
  "rgb": {
    "r": 203,
    "g": 216,
    "b": 115
  },
  "hsl": {
    "h": 67.723,
    "s": 56.425,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85083,
    "c": 0.12673,
    "h": 115.2
  },
  "luminance": 0.63046
}

Semantic roles & 50–950 ramp

primary
#CBD873
secondary
#5548A7
accent
#22C436
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CBD873

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

Preview Lab → · Contrast checker → · Palette generator →

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