#CBCC79#CBCC79

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

Color values

HEX#CBCC79
RGBrgb(203, 204, 121)
HSLhsl(61, 45%, 64%)
HSVhsv(61, 41%, 80%)
CMYKcmyk(0.5%, 0%, 40.7%, 20%)
CIE-LABlab(80.33, -12.46, 41.18)
CIE-LCHlch(80.33, 43.02, 106.83°)
OKLaboklab(82.6% -0.0346 0.0998)
OKLCHoklch(82.6% 0.106 109.1)
XYZxyz(49.6734, 57.2637, 26.5217)
Luminance0.5726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCC79 #7A79CC
analogous
#CCA379 #CBCC79 #A1CC79
triadic
#CBCC79 #79CBCC #CC79CB
tetradic
#CBCC79 #79CCA3 #7A79CC #CC79A1
square
#CBCC79 #79CCA3 #7A79CC #CC79A1
split-complementary
#CBCC79 #79A1CC #A379CC
monochromatic
#929338 #BABB4D #CBCC79 #DCDDA5 #EDEED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCC79#FFFFFF#000000##000000
##CBCC791.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)
#D8C672
Deuteranopia (green-blind)
#D9C97D
Tritanopia (blue-blind)
#D6C3B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbcc79;
/* rgb */ color: rgb(203, 204, 121);
/* oklch */ color: oklch(82.6% 0.106 109.1);
Tailwind
colors: {
  custom: {
    50: '#dcdba1',
    500: '#cbcc79',
    950: '#000000',
  },
}
SCSS
$custom: #cbcc79;
$custom-light: #dcdba1;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcc79",
  "rgb": {
    "r": 203,
    "g": 204,
    "b": 121
  },
  "hsl": {
    "h": 60.723,
    "s": 44.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.82605,
    "c": 0.10566,
    "h": 109.1
  },
  "luminance": 0.57263
}

Semantic roles & 50–950 ramp

primary
#CBCC79
secondary
#515099
accent
#2DB82F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CBCC79

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

Preview Lab → · Contrast checker → · Palette generator →

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