#CBC580#CBC580

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

Color values

HEX#CBC580
RGBrgb(203, 197, 128)
HSLhsl(55, 42%, 65%)
HSVhsv(55, 37%, 80%)
CMYKcmyk(0%, 3%, 36.9%, 20.4%)
CIE-LABlab(78.57, -8.11, 35.38)
CIE-LCHlch(78.57, 36.30, 102.91°)
OKLaboklab(81.24% -0.0216 0.087)
OKLCHoklch(81.24% 0.09 103.9)
XYZxyz(48.4918, 54.1887, 28.3229)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC580 #8086CB
analogous
#CBA080 #CBC580 #ACCB80
triadic
#CBC580 #80CBC5 #C580CB
tetradic
#CBC580 #80CBA0 #8086CB #CB80AC
square
#CBC580 #80CBA0 #8086CB #CB80AC
split-complementary
#CBC580 #80ACCB #A080CB
monochromatic
#948D3D #B9B155 #CBC580 #DDD9AB #EFEDD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC580#FFFFFF#000000##000000
##CBC5801.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)
#D1C07B
Deuteranopia (green-blind)
#D3C483
Tritanopia (blue-blind)
#D5BCB4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc580;
/* rgb */ color: rgb(203, 197, 128);
/* oklch */ color: oklch(81.2% 0.090 103.9);
Tailwind
colors: {
  custom: {
    50: '#dcd6a5',
    500: '#cbc580',
    950: '#000000',
  },
}
SCSS
$custom: #cbc580;
$custom-light: #dcd6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc580",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 128
  },
  "hsl": {
    "h": 55.2,
    "s": 41.899,
    "l": 64.902
  },
  "oklch": {
    "l": 0.81244,
    "c": 0.08961,
    "h": 103.9
  },
  "luminance": 0.54188
}

Semantic roles & 50–950 ramp

primary
#CBC580
secondary
#555A9B
accent
#3BB531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC580

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

Preview Lab → · Contrast checker → · Palette generator →

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