#CBC289#CBC289

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

Color values

HEX#CBC289
RGBrgb(203, 194, 137)
HSLhsl(52, 39%, 67%)
HSVhsv(52, 33%, 80%)
CMYKcmyk(0%, 4.4%, 32.5%, 20.4%)
CIE-LABlab(77.93, -5.48, 29.87)
CIE-LCHlch(77.93, 30.37, 100.40°)
OKLaboklab(80.78% -0.0135 0.0744)
OKLCHoklch(80.78% 0.076 100.3)
XYZxyz(48.4363, 53.0874, 31.3574)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC289 #8992CB
analogous
#CBA189 #CBC289 #B3CB89
triadic
#CBC289 #89CBC2 #C289CB
tetradic
#CBC289 #89CBA1 #8992CB #CB89B3
square
#CBC289 #89CBA1 #8992CB #CB89B3
split-complementary
#CBC289 #89B3CB #A189CB
monochromatic
#978C43 #B8AC5F #CBC289 #DED8B3 #F0EEDE

Accessibility & contrast

On white

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

On black

11.62
#CBC289 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC289
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC289#FFFFFF#000000##000000
##CBC2891.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE85
Deuteranopia (green-blind)
#CFC28B
Tritanopia (blue-blind)
#D5BAB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc289;
/* rgb */ color: rgb(203, 194, 137);
/* oklch */ color: oklch(80.8% 0.076 100.3);
Tailwind
colors: {
  custom: {
    50: '#dbd4ac',
    500: '#cbc289',
    950: '#000000',
  },
}
SCSS
$custom: #cbc289;
$custom-light: #dbd4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc289",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 137
  },
  "hsl": {
    "h": 51.818,
    "s": 38.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8078,
    "c": 0.07563,
    "h": 100.3
  },
  "luminance": 0.53086
}

Semantic roles & 50–950 ramp

primary
#CBC289
secondary
#5A649E
accent
#45B234
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC289

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

Preview Lab → · Contrast checker → · Palette generator →

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