#CBCA78#CBCA78

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

Color values

HEX#CBCA78
RGBrgb(203, 202, 120)
HSLhsl(59, 44%, 63%)
HSVhsv(59, 41%, 80%)
CMYKcmyk(0%, 0.5%, 40.9%, 20.4%)
CIE-LABlab(79.78, -11.55, 40.99)
CIE-LCHlch(79.78, 42.59, 105.74°)
OKLaboklab(82.17% -0.0321 0.0994)
OKLCHoklch(82.17% 0.104 107.9)
XYZxyz(49.1401, 56.2947, 26.0430)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA78 #7879CB
analogous
#CBA078 #CBCA78 #A2CB78
triadic
#CBCA78 #78CBCA #CA78CB
tetradic
#CBCA78 #78CBA0 #7879CB #CB78A2
square
#CBCA78 #78CBA0 #7879CB #CB78A2
split-complementary
#CBCA78 #78A2CB #A078CB
monochromatic
#919038 #BAB94C #CBCA78 #DCDBA4 #EDEDD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBCA78#FFFFFF#000000##000000
##CBCA781.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)
#D6C472
Deuteranopia (green-blind)
#D8C77C
Tritanopia (blue-blind)
#D6C1B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbca78;
/* rgb */ color: rgb(203, 202, 120);
/* oklch */ color: oklch(82.2% 0.104 107.9);
Tailwind
colors: {
  custom: {
    50: '#dcdaa0',
    500: '#cbca78',
    950: '#000000',
  },
}
SCSS
$custom: #cbca78;
$custom-light: #dcdaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca78",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 120
  },
  "hsl": {
    "h": 59.277,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82166,
    "c": 0.10441,
    "h": 107.9
  },
  "luminance": 0.56294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBCA78

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

Preview Lab → · Contrast checker → · Palette generator →

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