#CBCF8A#CBCF8A

#CBCF8A is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.090 H 111.0°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#CBCF8A
RGBrgb(203, 207, 138)
HSLhsl(63, 42%, 68%)
HSVhsv(63, 33%, 81%)
CMYKcmyk(1.9%, 0%, 33.3%, 18.8%)
CIE-LABlab(81.38, -12.03, 33.90)
CIE-LCHlch(81.38, 35.97, 109.54°)
OKLaboklab(83.52% -0.0322 0.0839)
OKLCHoklch(83.52% 0.09 111)
XYZxyz(51.5292, 59.1579, 32.7439)
Luminance0.5916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCF8A #8E8ACF
analogous
#CFB08A #CBCF8A #A9CF8A
triadic
#CBCF8A #8ACBCF #CF8ACB
tetradic
#CBCF8A #8ACFB0 #8E8ACF #CF8AA9
square
#CBCF8A #8ACFB0 #8E8ACF #CF8AA9
split-complementary
#CBCF8A #8AA9CF #B08ACF
monochromatic
#989E41 #B8BD5F #CBCF8A #DEE1B5 #F2F3E1

Accessibility & contrast

On white

1.64
#CBCF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#CBCF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCF8A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCF8A#FFFFFF#000000##000000
##CBCF8A1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C985
Deuteranopia (green-blind)
#DACB8D
Tritanopia (blue-blind)
#D4C7BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cbcf8a;
/* rgb */ color: rgb(203, 207, 138);
/* oklch */ color: oklch(83.5% 0.090 111.0);
Tailwind
colors: {
  custom: {
    50: '#dbddad',
    500: '#cbcf8a',
    950: '#000000',
  },
}
SCSS
$custom: #cbcf8a;
$custom-light: #dbddad;
$custom-dark: #000000;
JSON
{
  "hex": "#cbcf8a",
  "rgb": {
    "r": 203,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 63.478,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83523,
    "c": 0.08987,
    "h": 111
  },
  "luminance": 0.59157
}

Semantic roles & 50–950 ramp

primary
#CBCF8A
secondary
#5E5AA4
accent
#31B538
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CBCF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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