#CBCA71#CBCA71

#CBCA71 is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.112 H 108.1°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CBCA71
RGBrgb(203, 202, 113)
HSLhsl(59, 46%, 62%)
HSVhsv(59, 44%, 80%)
CMYKcmyk(0%, 0.5%, 44.3%, 20.4%)
CIE-LABlab(79.69, -12.27, 44.36)
CIE-LCHlch(79.69, 46.02, 105.46°)
OKLaboklab(82.06% -0.0347 0.1065)
OKLCHoklch(82.06% 0.112 108.1)
XYZxyz(48.7307, 56.1309, 23.8869)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA71 #7172CB
analogous
#CB9D71 #CBCA71 #9FCB71
triadic
#CBCA71 #71CBCA #CA71CB
tetradic
#CBCA71 #71CB9D #7172CB #CB719F
square
#CBCA71 #71CB9D #7172CB #CB719F
split-complementary
#CBCA71 #719FCB #9D71CB
monochromatic
#8E8D34 #BBB944 #CBCA71 #DBDB9E #ECEBCB

Accessibility & contrast

On white

1.72
#CBCA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#CBCA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA71
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA71#FFFFFF#000000##000000
##CBCA711.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46A
Deuteranopia (green-blind)
#D8C775
Tritanopia (blue-blind)
#D6C0B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbca71;
/* rgb */ color: rgb(203, 202, 113);
/* oklch */ color: oklch(82.1% 0.112 108.1);
Tailwind
colors: {
  custom: {
    50: '#dcda9b',
    500: '#cbca71',
    950: '#000000',
  },
}
SCSS
$custom: #cbca71;
$custom-light: #dcda9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca71",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 59.333,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82062,
    "c": 0.11199,
    "h": 108.1
  },
  "luminance": 0.5613
}

Semantic roles & 50–950 ramp

primary
#CBCA71
secondary
#4C4D95
accent
#2DBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBCA71

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

Preview Lab → · Contrast checker → · Palette generator →

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