#CBCA81#CBCA81

#CBCA81 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.094 H 107.6°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CBCA81
RGBrgb(203, 202, 129)
HSLhsl(59, 42%, 65%)
HSVhsv(59, 36%, 80%)
CMYKcmyk(0%, 0.5%, 36.5%, 20.4%)
CIE-LABlab(79.91, -10.56, 36.60)
CIE-LCHlch(79.91, 38.09, 106.09°)
OKLaboklab(82.31% -0.0285 0.0898)
OKLCHoklch(82.31% 0.094 107.6)
XYZxyz(49.7122, 56.5235, 29.0560)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA81 #8182CB
analogous
#CBA581 #CBCA81 #A7CB81
triadic
#CBCA81 #81CBCA #CA81CB
tetradic
#CBCA81 #81CBA5 #8182CB #CB81A7
square
#CBCA81 #81CBA5 #8182CB #CB81A7
split-complementary
#CBCA81 #81A7CB #A581CB
monochromatic
#94933D #B9B856 #CBCA81 #DDDCAC #EFEED8

Accessibility & contrast

On white

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

On black

12.30
#CBCA81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA81
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA81#FFFFFF#000000##000000
##CBCA811.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C47C
Deuteranopia (green-blind)
#D7C884
Tritanopia (blue-blind)
#D5C1B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbca81;
/* rgb */ color: rgb(203, 202, 129);
/* oklch */ color: oklch(82.3% 0.094 107.6);
Tailwind
colors: {
  custom: {
    50: '#dcdaa6',
    500: '#cbca81',
    950: '#000000',
  },
}
SCSS
$custom: #cbca81;
$custom-light: #dcdaa6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca81",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 129
  },
  "hsl": {
    "h": 59.189,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82311,
    "c": 0.09424,
    "h": 107.6
  },
  "luminance": 0.56523
}

Semantic roles & 50–950 ramp

primary
#CBCA81
secondary
#55569B
accent
#33B531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBCA81

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

Preview Lab → · Contrast checker → · Palette generator →

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