#CBCA8F#CBCA8F

#CBCA8F is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.078 H 107.2°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#CBCA8F
RGBrgb(203, 202, 143)
HSLhsl(59, 37%, 68%)
HSVhsv(59, 30%, 80%)
CMYKcmyk(0%, 0.5%, 29.6%, 20.4%)
CIE-LABlab(80.14, -8.86, 29.67)
CIE-LCHlch(80.14, 30.96, 106.62°)
OKLaboklab(82.56% -0.0229 0.0741)
OKLCHoklch(82.56% 0.078 107.2)
XYZxyz(50.7073, 56.9216, 34.2970)
Luminance0.5692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA8F #8F90CB
analogous
#CBAC8F #CBCA8F #AECB8F
triadic
#CBCA8F #8FCBCA #CA8FCB
tetradic
#CBCA8F #8FCBAC #8F90CB #CB8FAE
square
#CBCA8F #8FCBAC #8F90CB #CB8FAE
split-complementary
#CBCA8F #8FAECB #AC8FCB
monochromatic
#999747 #B8B665 #CBCA8F #DEDEB9 #F2F2E3

Accessibility & contrast

On white

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

On black

12.38
#CBCA8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA8F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA8F#FFFFFF#000000##000000
##CBCA8F1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C58B
Deuteranopia (green-blind)
#D5C891
Tritanopia (blue-blind)
#D4C3BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbca8f;
/* rgb */ color: rgb(203, 202, 143);
/* oklch */ color: oklch(82.6% 0.078 107.2);
Tailwind
colors: {
  custom: {
    50: '#dbdab0',
    500: '#cbca8f',
    950: '#000000',
  },
}
SCSS
$custom: #cbca8f;
$custom-light: #dbdab0;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca8f",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 143
  },
  "hsl": {
    "h": 59,
    "s": 36.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.82563,
    "c": 0.07756,
    "h": 107.2
  },
  "luminance": 0.56921
}

Semantic roles & 50–950 ramp

primary
#CBCA8F
secondary
#5F60A0
accent
#38AF36
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBCA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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