#CBC581#CBC581

#CBC581 is a light, moderate yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.088 H 103.9°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#CBC581
RGBrgb(203, 197, 129)
HSLhsl(55, 42%, 65%)
HSVhsv(55, 36%, 80%)
CMYKcmyk(0%, 3%, 36.5%, 20.4%)
CIE-LABlab(78.59, -7.99, 34.89)
CIE-LCHlch(78.59, 35.79, 102.90°)
OKLaboklab(81.26% -0.0212 0.0859)
OKLCHoklch(81.26% 0.088 103.9)
XYZxyz(48.5580, 54.2151, 28.6713)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC581 #8187CB
analogous
#CBA081 #CBC581 #ACCB81
triadic
#CBC581 #81CBC5 #C581CB
tetradic
#CBC581 #81CBA0 #8187CB #CB81AC
square
#CBC581 #81CBA0 #8187CB #CB81AC
split-complementary
#CBC581 #81ACCB #A081CB
monochromatic
#948D3D #B9B156 #CBC581 #DDD9AC #EFEDD8

Accessibility & contrast

On white

1.77
#CBC581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#CBC581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC581
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC581#FFFFFF#000000##000000
##CBC5811.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C07C
Deuteranopia (green-blind)
#D3C484
Tritanopia (blue-blind)
#D5BCB4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc581;
/* rgb */ color: rgb(203, 197, 129);
/* oklch */ color: oklch(81.3% 0.088 103.9);
Tailwind
colors: {
  custom: {
    50: '#dcd6a6',
    500: '#cbc581',
    950: '#000000',
  },
}
SCSS
$custom: #cbc581;
$custom-light: #dcd6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc581",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 129
  },
  "hsl": {
    "h": 55.135,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81261,
    "c": 0.08844,
    "h": 103.9
  },
  "luminance": 0.54214
}

Semantic roles & 50–950 ramp

primary
#CBC581
secondary
#555B9B
accent
#3CB531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC581

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

Preview Lab → · Contrast checker → · Palette generator →

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