#CBC489#CBC489

#CBC489 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.078 H 102.2°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#CBC489
RGBrgb(203, 196, 137)
HSLhsl(54, 39%, 67%)
HSVhsv(54, 33%, 80%)
CMYKcmyk(0%, 3.4%, 32.5%, 20.4%)
CIE-LABlab(78.45, -6.52, 30.56)
CIE-LCHlch(78.45, 31.25, 102.04°)
OKLaboklab(81.2% -0.0165 0.0761)
OKLCHoklch(81.2% 0.078 102.2)
XYZxyz(48.8844, 53.9836, 31.5068)
Luminance0.5398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC489 #8990CB
analogous
#CBA389 #CBC489 #B1CB89
triadic
#CBC489 #89CBC4 #C489CB
tetradic
#CBC489 #89CBA3 #8990CB #CB89B1
square
#CBC489 #89CBA3 #8990CB #CB89B1
split-complementary
#CBC489 #89B1CB #A389CB
monochromatic
#978E43 #B8AF5F #CBC489 #DED9B3 #F0EEDE

Accessibility & contrast

On white

1.78
#CBC489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.80
#CBC489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC489
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC489#FFFFFF#000000##000000
##CBC4891.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC085
Deuteranopia (green-blind)
#D1C48B
Tritanopia (blue-blind)
#D5BCB5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc489;
/* rgb */ color: rgb(203, 196, 137);
/* oklch */ color: oklch(81.2% 0.078 102.2);
Tailwind
colors: {
  custom: {
    50: '#dbd5ac',
    500: '#cbc489',
    950: '#000000',
  },
}
SCSS
$custom: #cbc489;
$custom-light: #dbd5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc489",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 137
  },
  "hsl": {
    "h": 53.636,
    "s": 38.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.81196,
    "c": 0.07782,
    "h": 102.2
  },
  "luminance": 0.53983
}

Semantic roles & 50–950 ramp

primary
#CBC489
secondary
#5A629E
accent
#41B234
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC489

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

Preview Lab → · Contrast checker → · Palette generator →

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