#CBCA79#CBCA79

#CBCA79 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.103 H 107.9°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#CBCA79
RGBrgb(203, 202, 121)
HSLhsl(59, 44%, 64%)
HSVhsv(59, 40%, 80%)
CMYKcmyk(0%, 0.5%, 40.4%, 20.4%)
CIE-LABlab(79.80, -11.44, 40.51)
CIE-LCHlch(79.80, 42.09, 105.78°)
OKLaboklab(82.18% -0.0317 0.0983)
OKLCHoklch(82.18% 0.103 107.9)
XYZxyz(49.2011, 56.3191, 26.3643)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA79 #797ACB
analogous
#CBA179 #CBCA79 #A3CB79
triadic
#CBCA79 #79CBCA #CA79CB
tetradic
#CBCA79 #79CBA1 #797ACB #CB79A3
square
#CBCA79 #79CBA1 #797ACB #CB79A3
split-complementary
#CBCA79 #79A3CB #A179CB
monochromatic
#919038 #BAB94D #CBCA79 #DCDBA5 #EDEDD1

Accessibility & contrast

On white

1.71
#CBCA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#CBCA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA79
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA79#FFFFFF#000000##000000
##CBCA791.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C473
Deuteranopia (green-blind)
#D8C77D
Tritanopia (blue-blind)
#D6C1B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbca79;
/* rgb */ color: rgb(203, 202, 121);
/* oklch */ color: oklch(82.2% 0.103 107.9);
Tailwind
colors: {
  custom: {
    50: '#dcdaa1',
    500: '#cbca79',
    950: '#000000',
  },
}
SCSS
$custom: #cbca79;
$custom-light: #dcdaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca79",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 121
  },
  "hsl": {
    "h": 59.268,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82182,
    "c": 0.10331,
    "h": 107.9
  },
  "luminance": 0.56318
}

Semantic roles & 50–950 ramp

primary
#CBCA79
secondary
#505198
accent
#30B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CBCA79

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

Preview Lab → · Contrast checker → · Palette generator →

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