#CBCA7B#CBCA7B

#CBCA7B is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.101 H 107.8°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#CBCA7B
RGBrgb(203, 202, 123)
HSLhsl(59, 43%, 64%)
HSVhsv(59, 39%, 80%)
CMYKcmyk(0%, 0.5%, 39.4%, 20.4%)
CIE-LABlab(79.82, -11.23, 39.54)
CIE-LCHlch(79.82, 41.10, 105.85°)
OKLaboklab(82.21% -0.0309 0.0962)
OKLCHoklch(82.21% 0.101 107.8)
XYZxyz(49.3250, 56.3687, 27.0169)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA7B #7B7CCB
analogous
#CBA27B #CBCA7B #A4CB7B
triadic
#CBCA7B #7BCBCA #CA7BCB
tetradic
#CBCA7B #7BCBA2 #7B7CCB #CB7BA4
square
#CBCA7B #7BCBA2 #7B7CCB #CB7BA4
split-complementary
#CBCA7B #7BA4CB #A27BCB
monochromatic
#92913A #BAB84F #CBCA7B #DCDCA7 #EEEDD3

Accessibility & contrast

On white

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

On black

12.27
#CBCA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA7B
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA7B#FFFFFF#000000##000000
##CBCA7B1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C475
Deuteranopia (green-blind)
#D7C77E
Tritanopia (blue-blind)
#D6C1B7
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbca7b;
/* rgb */ color: rgb(203, 202, 123);
/* oklch */ color: oklch(82.2% 0.101 107.8);
Tailwind
colors: {
  custom: {
    50: '#dcdaa2',
    500: '#cbca7b',
    950: '#000000',
  },
}
SCSS
$custom: #cbca7b;
$custom-light: #dcdaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca7b",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 59.25,
    "s": 43.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82213,
    "c": 0.10107,
    "h": 107.8
  },
  "luminance": 0.56368
}

Semantic roles & 50–950 ramp

primary
#CBCA7B
secondary
#515299
accent
#31B72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CBCA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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