#CBC780#CBC780

#CBC780 is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.092 H 105.5°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CBC780
RGBrgb(203, 199, 128)
HSLhsl(57, 42%, 65%)
HSVhsv(57, 37%, 80%)
CMYKcmyk(0%, 2%, 36.9%, 20.4%)
CIE-LABlab(79.10, -9.14, 36.07)
CIE-LCHlch(79.10, 37.21, 104.22°)
OKLaboklab(81.66% -0.0245 0.0885)
OKLCHoklch(81.66% 0.092 105.5)
XYZxyz(48.9490, 55.1030, 28.4753)
Luminance0.5510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC780 #8084CB
analogous
#CBA280 #CBC780 #AACB80
triadic
#CBC780 #80CBC7 #C780CB
tetradic
#CBC780 #80CBA2 #8084CB #CB80AA
square
#CBC780 #80CBA2 #8084CB #CB80AA
split-complementary
#CBC780 #80AACB #A280CB
monochromatic
#948F3D #B9B455 #CBC780 #DDDAAB #EFEDD7

Accessibility & contrast

On white

1.75
#CBC780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CBC780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC780
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC780#FFFFFF#000000##000000
##CBC7801.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C27B
Deuteranopia (green-blind)
#D4C683
Tritanopia (blue-blind)
#D5BEB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc780;
/* rgb */ color: rgb(203, 199, 128);
/* oklch */ color: oklch(81.7% 0.092 105.5);
Tailwind
colors: {
  custom: {
    50: '#dcd7a5',
    500: '#cbc780',
    950: '#000000',
  },
}
SCSS
$custom: #cbc780;
$custom-light: #dcd7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc780",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 128
  },
  "hsl": {
    "h": 56.8,
    "s": 41.899,
    "l": 64.902
  },
  "oklch": {
    "l": 0.81663,
    "c": 0.09188,
    "h": 105.5
  },
  "luminance": 0.55102
}

Semantic roles & 50–950 ramp

primary
#CBC780
secondary
#55589B
accent
#38B531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC780

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

Preview Lab → · Contrast checker → · Palette generator →

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