#CBC586#CBC586

#CBC586 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.083 H 103.4°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CBC586
RGBrgb(203, 197, 134)
HSLhsl(55, 40%, 66%)
HSVhsv(55, 34%, 80%)
CMYKcmyk(0%, 3%, 34%, 20.4%)
CIE-LABlab(78.67, -7.40, 32.41)
CIE-LCHlch(78.67, 33.24, 102.87°)
OKLaboklab(81.35% -0.0192 0.0803)
OKLCHoklch(81.35% 0.083 103.4)
XYZxyz(48.8985, 54.3513, 30.4646)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC586 #868CCB
analogous
#CBA286 #CBC586 #AECB86
triadic
#CBC586 #86CBC5 #C586CB
tetradic
#CBC586 #86CBA2 #868CCB #CB86AE
square
#CBC586 #86CBA2 #868CCB #CB86AE
split-complementary
#CBC586 #86AECB #A286CB
monochromatic
#968F41 #B9B05B #CBC586 #DDDAB1 #F0EEDC

Accessibility & contrast

On white

1.77
#CBC586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CBC586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC586
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC586#FFFFFF#000000##000000
##CBC5861.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C182
Deuteranopia (green-blind)
#D2C488
Tritanopia (blue-blind)
#D5BDB5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc586;
/* rgb */ color: rgb(203, 197, 134);
/* oklch */ color: oklch(81.3% 0.083 103.4);
Tailwind
colors: {
  custom: {
    50: '#dcd6aa',
    500: '#cbc586',
    950: '#000000',
  },
}
SCSS
$custom: #cbc586;
$custom-light: #dcd6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc586",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 134
  },
  "hsl": {
    "h": 54.783,
    "s": 39.884,
    "l": 66.078
  },
  "oklch": {
    "l": 0.8135,
    "c": 0.08255,
    "h": 103.4
  },
  "luminance": 0.5435
}

Semantic roles & 50–950 ramp

primary
#CBC586
secondary
#585E9D
accent
#3EB333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC586

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

Preview Lab → · Contrast checker → · Palette generator →

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