#CBCA8A#CBCA8A

#CBCA8A is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.084 H 107.3°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CBCA8A
RGBrgb(203, 202, 138)
HSLhsl(59, 38%, 67%)
HSVhsv(59, 32%, 80%)
CMYKcmyk(0%, 0.5%, 32%, 20.4%)
CIE-LABlab(80.05, -9.49, 32.16)
CIE-LCHlch(80.05, 33.53, 106.43°)
OKLaboklab(82.47% -0.0249 0.0798)
OKLCHoklch(82.47% 0.084 107.3)
XYZxyz(50.3369, 56.7734, 32.3465)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA8A #8A8BCB
analogous
#CBAA8A #CBCA8A #ACCB8A
triadic
#CBCA8A #8ACBCA #CA8ACB
tetradic
#CBCA8A #8ACBAA #8A8BCB #CB8AAC
square
#CBCA8A #8ACBAA #8A8BCB #CB8AAC
split-complementary
#CBCA8A #8AACCB #AA8ACB
monochromatic
#979643 #B8B760 #CBCA8A #DEDDB4 #F1F0DF

Accessibility & contrast

On white

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

On black

12.35
#CBCA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA8A
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA8A#FFFFFF#000000##000000
##CBCA8A1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C586
Deuteranopia (green-blind)
#D6C88D
Tritanopia (blue-blind)
#D4C2BA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbca8a;
/* rgb */ color: rgb(203, 202, 138);
/* oklch */ color: oklch(82.5% 0.084 107.3);
Tailwind
colors: {
  custom: {
    50: '#dbdaac',
    500: '#cbca8a',
    950: '#000000',
  },
}
SCSS
$custom: #cbca8a;
$custom-light: #dbdaac;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca8a",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 138
  },
  "hsl": {
    "h": 59.077,
    "s": 38.462,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8247,
    "c": 0.08363,
    "h": 107.3
  },
  "luminance": 0.56773
}

Semantic roles & 50–950 ramp

primary
#CBCA8A
secondary
#5B5C9E
accent
#36B134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBCA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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