#CBC571#CBC571

#CBC571 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.106 H 104.9°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CBC571
RGBrgb(203, 197, 113)
HSLhsl(56, 46%, 62%)
HSVhsv(56, 44%, 80%)
CMYKcmyk(0%, 3%, 44.3%, 20.4%)
CIE-LABlab(78.36, -9.72, 42.71)
CIE-LCHlch(78.36, 43.81, 102.82°)
OKLaboklab(81.01% -0.0274 0.1028)
OKLCHoklch(81.01% 0.106 104.9)
XYZxyz(47.5765, 53.8225, 23.5022)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC571 #7177CB
analogous
#CB9871 #CBC571 #A4CB71
triadic
#CBC571 #71CBC5 #C571CB
tetradic
#CBC571 #71CB98 #7177CB #CB71A4
square
#CBC571 #71CB98 #7177CB #CB71A4
split-complementary
#CBC571 #71A4CB #9871CB
monochromatic
#8E8834 #BBB344 #CBC571 #DBD79E #ECEACB

Accessibility & contrast

On white

1.79
#CBC571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CBC571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC571
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC571#FFFFFF#000000##000000
##CBC5711.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BF6A
Deuteranopia (green-blind)
#D5C475
Tritanopia (blue-blind)
#D7BBB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc571;
/* rgb */ color: rgb(203, 197, 113);
/* oklch */ color: oklch(81.0% 0.106 104.9);
Tailwind
colors: {
  custom: {
    50: '#dcd69b',
    500: '#cbc571',
    950: '#000000',
  },
}
SCSS
$custom: #cbc571;
$custom-light: #dcd69b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc571",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 113
  },
  "hsl": {
    "h": 56,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.81005,
    "c": 0.1064,
    "h": 104.9
  },
  "luminance": 0.53821
}

Semantic roles & 50–950 ramp

primary
#CBC571
secondary
#4C5195
accent
#35BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC571

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

Preview Lab → · Contrast checker → · Palette generator →

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