#CBCC78#CBCC78

#CBCC78 is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.107 H 109.1°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CBCC78
RGBrgb(203, 204, 120)
HSLhsl(61, 45%, 64%)
HSVhsv(61, 41%, 80%)
CMYKcmyk(0.5%, 0%, 41.2%, 20%)
CIE-LABlab(80.31, -12.56, 41.66)
CIE-LCHlch(80.31, 43.51, 106.78°)
OKLaboklab(82.59% -0.035 0.1009)
OKLCHoklch(82.59% 0.107 109.1)
XYZxyz(49.6124, 57.2393, 26.2004)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC78 #7978CC
analogous
#CCA378 #CBCC78 #A1CC78
triadic
#CBCC78 #78CBCC #CC78CB
tetradic
#CBCC78 #78CCA3 #7978CC #CC78A1
square
#CBCC78 #78CCA3 #7978CC #CC78A1
split-complementary
#CBCC78 #78A1CC #A378CC
monochromatic
#919237 #BABB4C #CBCC78 #DCDDA4 #EDEED1

Accessibility & contrast

On white

1.69
#CBCC78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#CBCC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCC78
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCC78#FFFFFF#000000##000000
##CBCC781.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C671
Deuteranopia (green-blind)
#D9C97C
Tritanopia (blue-blind)
#D6C3B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbcc78;
/* rgb */ color: rgb(203, 204, 120);
/* oklch */ color: oklch(82.6% 0.107 109.1);
Tailwind
colors: {
  custom: {
    50: '#dcdba0',
    500: '#cbcc78',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc78;
$custom-light: #dcdba0;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc78",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 120
  },
  "hsl": {
    "h": 60.714,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.8259,
    "c": 0.10676,
    "h": 109.1
  },
  "luminance": 0.57238
}

Semantic roles & 50–950 ramp

primary
#CBCC78
secondary
#504F99
accent
#2DB82F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CBCC78

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

Preview Lab → · Contrast checker → · Palette generator →

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