#CBCB8A#CBCB8A

#CBCB8A is a very light, moderate yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.085 H 108.1°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CBCB8A
RGBrgb(203, 203, 138)
HSLhsl(60, 38%, 67%)
HSVhsv(60, 32%, 80%)
CMYKcmyk(0%, 0%, 32%, 20.4%)
CIE-LABlab(80.32, -10.00, 32.51)
CIE-LCHlch(80.32, 34.01, 107.10°)
OKLaboklab(82.68% -0.0264 0.0807)
OKLCHoklch(82.68% 0.085 108.1)
XYZxyz(50.5723, 57.2442, 32.4250)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCB8A #8A8ACB
analogous
#CBAB8A #CBCB8A #ABCB8A
triadic
#CBCB8A #8ACBCB #CB8ACB
tetradic
#CBCB8A #8ACBAB #8A8ACB #CB8AAB
square
#CBCB8A #8ACBAB #8A8ACB #CB8AAB
split-complementary
#CBCB8A #8AABCB #AB8ACB
monochromatic
#979743 #B8B860 #CBCB8A #DEDEB4 #F1F1DF

Accessibility & contrast

On white

1.69
#CBCB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#CBCB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCB8A
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCB8A#FFFFFF#000000##000000
##CBCB8A1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C685
Deuteranopia (green-blind)
#D6C98D
Tritanopia (blue-blind)
#D4C3BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cbcb8a;
/* rgb */ color: rgb(203, 203, 138);
/* oklch */ color: oklch(82.7% 0.085 108.1);
Tailwind
colors: {
  custom: {
    50: '#dbdaad',
    500: '#cbcb8a',
    950: '#000000',
  },
}
SCSS
$custom: #cbcb8a;
$custom-light: #dbdaad;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcb8a",
  "rgb": {
    "r": 203,
    "g": 203,
    "b": 138
  },
  "hsl": {
    "h": 60,
    "s": 38.462,
    "l": 66.863
  },
  "oklch": {
    "l": 0.8268,
    "c": 0.08486,
    "h": 108.1
  },
  "luminance": 0.57243
}

Semantic roles & 50–950 ramp

primary
#CBCB8A
secondary
#5B5B9E
accent
#34B134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBCB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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