#CBC28D#CBC28D

#CBC28D is a light, moderate yellow. Relative luminance 0.532; OKLCH L 80.9% C 0.071 H 99.6°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#CBC28D
RGBrgb(203, 194, 141)
HSLhsl(51, 37%, 67%)
HSVhsv(51, 31%, 80%)
CMYKcmyk(0%, 4.4%, 30.5%, 20.4%)
CIE-LABlab(78.00, -4.98, 27.86)
CIE-LCHlch(78.00, 28.30, 100.13°)
OKLaboklab(80.86% -0.0118 0.0698)
OKLCHoklch(80.86% 0.071 99.6)
XYZxyz(48.7285, 53.2043, 32.8967)
Luminance0.5320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC28D #8D96CB
analogous
#CBA38D #CBC28D #B5CB8D
triadic
#CBC28D #8DCBC2 #C28DCB
tetradic
#CBC28D #8DCBA3 #8D96CB #CB8DB5
square
#CBC28D #8DCBA3 #8D96CB #CB8DB5
split-complementary
#CBC28D #8DB5CB #A38DCB
monochromatic
#988C45 #B8AC63 #CBC28D #DED8B7 #F1EFE1

Accessibility & contrast

On white

1.80
#CBC28D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#CBC28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC28D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC28D#FFFFFF#000000##000000
##CBC28D1.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBF89
Deuteranopia (green-blind)
#CFC38F
Tritanopia (blue-blind)
#D4BBB4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc28d;
/* rgb */ color: rgb(203, 194, 141);
/* oklch */ color: oklch(80.9% 0.071 99.6);
Tailwind
colors: {
  custom: {
    50: '#dbd4ae',
    500: '#cbc28d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc28d;
$custom-light: #dbd4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc28d",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 141
  },
  "hsl": {
    "h": 51.29,
    "s": 37.349,
    "l": 67.451
  },
  "oklch": {
    "l": 0.80857,
    "c": 0.07077,
    "h": 99.6
  },
  "luminance": 0.53203
}

Semantic roles & 50–950 ramp

primary
#CBC28D
secondary
#5D679F
accent
#47B035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC28D

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

Preview Lab → · Contrast checker → · Palette generator →

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