#CBCB79#CBCB79

#CBCB79 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.104 H 108.5°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CBCB79
RGBrgb(203, 203, 121)
HSLhsl(60, 44%, 64%)
HSVhsv(60, 40%, 80%)
CMYKcmyk(0%, 0%, 40.4%, 20.4%)
CIE-LABlab(80.06, -11.95, 40.84)
CIE-LCHlch(80.06, 42.56, 106.31°)
OKLaboklab(82.39% -0.0331 0.0991)
OKLCHoklch(82.39% 0.104 108.5)
XYZxyz(49.4365, 56.7899, 26.4428)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB79 #7979CB
analogous
#CBA279 #CBCB79 #A2CB79
triadic
#CBCB79 #79CBCB #CB79CB
tetradic
#CBCB79 #79CBA2 #7979CB #CB79A2
square
#CBCB79 #79CBA2 #7979CB #CB79A2
split-complementary
#CBCB79 #79A2CB #A279CB
monochromatic
#919138 #BABA4D #CBCB79 #DCDCA5 #EDEDD1

Accessibility & contrast

On white

1.70
#CBCB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#CBCB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB79
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB79#FFFFFF#000000##000000
##CBCB791.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C573
Deuteranopia (green-blind)
#D8C87D
Tritanopia (blue-blind)
#D6C2B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbcb79;
/* rgb */ color: rgb(203, 203, 121);
/* oklch */ color: oklch(82.4% 0.104 108.5);
Tailwind
colors: {
  custom: {
    50: '#dcdaa1',
    500: '#cbcb79',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb79;
$custom-light: #dcdaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb79",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 121
  },
  "hsl": {
    "h": 60,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82393,
    "c": 0.10448,
    "h": 108.5
  },
  "luminance": 0.56789
}

Semantic roles & 50–950 ramp

primary
#CBCB79
secondary
#505098
accent
#2EB72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CBCB79

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

Preview Lab → · Contrast checker → · Palette generator →

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