#CBC28B#CBC28B

#CBC28B is a light, moderate yellow. Relative luminance 0.531; OKLCH L 80.8% C 0.073 H 100.0°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#CBC28B
RGBrgb(203, 194, 139)
HSLhsl(52, 38%, 67%)
HSVhsv(52, 32%, 80%)
CMYKcmyk(0%, 4.4%, 31.5%, 20.4%)
CIE-LABlab(77.96, -5.23, 28.86)
CIE-LCHlch(77.96, 29.33, 100.27°)
OKLaboklab(80.82% -0.0127 0.0721)
OKLCHoklch(80.82% 0.073 100)
XYZxyz(48.5811, 53.1453, 32.1200)
Luminance0.5314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC28B #8B94CB
analogous
#CBA28B #CBC28B #B4CB8B
triadic
#CBC28B #8BCBC2 #C28BCB
tetradic
#CBC28B #8BCBA2 #8B94CB #CB8BB4
square
#CBC28B #8BCBA2 #8B94CB #CB8BB4
split-complementary
#CBC28B #8BB4CB #A28BCB
monochromatic
#988C44 #B8AC61 #CBC28B #DED8B5 #F1EEE0

Accessibility & contrast

On white

1.81
#CBC28B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#CBC28B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC28B
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC28B#FFFFFF#000000##000000
##CBC28B1.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBF87
Deuteranopia (green-blind)
#CFC28D
Tritanopia (blue-blind)
#D5BAB4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc28b;
/* rgb */ color: rgb(203, 194, 139);
/* oklch */ color: oklch(80.8% 0.073 100.0);
Tailwind
colors: {
  custom: {
    50: '#dbd4ad',
    500: '#cbc28b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc28b;
$custom-light: #dbd4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc28b",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 139
  },
  "hsl": {
    "h": 51.563,
    "s": 38.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.80819,
    "c": 0.0732,
    "h": 100
  },
  "luminance": 0.53144
}

Semantic roles & 50–950 ramp

primary
#CBC28B
secondary
#5C659E
accent
#46B134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC28B

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

Preview Lab → · Contrast checker → · Palette generator →

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