#CBCB71#CBCB71

#CBCB71 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.113 H 108.6°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#CBCB71
RGBrgb(203, 203, 113)
HSLhsl(60, 46%, 62%)
HSVhsv(60, 44%, 80%)
CMYKcmyk(0%, 0%, 44.3%, 20.4%)
CIE-LABlab(79.95, -12.77, 44.68)
CIE-LCHlch(79.95, 46.47, 105.95°)
OKLaboklab(82.27% -0.0362 0.1072)
OKLCHoklch(82.27% 0.113 108.6)
XYZxyz(48.9661, 56.6017, 23.9654)
Luminance0.5660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB71 #7171CB
analogous
#CB9E71 #CBCB71 #9ECB71
triadic
#CBCB71 #71CBCB #CB71CB
tetradic
#CBCB71 #71CB9E #7171CB #CB719E
square
#CBCB71 #71CB9E #7171CB #CB719E
split-complementary
#CBCB71 #719ECB #9E71CB
monochromatic
#8E8E34 #BBBB44 #CBCB71 #DBDB9E #ECECCB

Accessibility & contrast

On white

1.70
#CBCB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#CBCB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB71
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB71#FFFFFF#000000##000000
##CBCB711.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C469
Deuteranopia (green-blind)
#D9C875
Tritanopia (blue-blind)
#D6C1B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcb71;
/* rgb */ color: rgb(203, 203, 113);
/* oklch */ color: oklch(82.3% 0.113 108.6);
Tailwind
colors: {
  custom: {
    50: '#dcda9b',
    500: '#cbcb71',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb71;
$custom-light: #dcda9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb71",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 113
  },
  "hsl": {
    "h": 60,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82274,
    "c": 0.11314,
    "h": 108.6
  },
  "luminance": 0.56601
}

Semantic roles & 50–950 ramp

primary
#CBCB71
secondary
#4C4C95
accent
#2CBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBCB71

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

Preview Lab → · Contrast checker → · Palette generator →

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