#CBC386#CBC386

#CBC386 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.080 H 101.6°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CBC386
RGBrgb(203, 195, 134)
HSLhsl(53, 40%, 66%)
HSVhsv(53, 34%, 80%)
CMYKcmyk(0%, 3.9%, 34%, 20.4%)
CIE-LABlab(78.14, -6.37, 31.71)
CIE-LCHlch(78.14, 32.35, 101.35°)
OKLaboklab(80.93% -0.0162 0.0787)
OKLCHoklch(80.93% 0.08 101.6)
XYZxyz(48.4474, 53.4491, 30.3142)
Luminance0.5345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC386 #868ECB
analogous
#CBA086 #CBC386 #B0CB86
triadic
#CBC386 #86CBC3 #C386CB
tetradic
#CBC386 #86CBA0 #868ECB #CB86B0
square
#CBC386 #86CBA0 #868ECB #CB86B0
split-complementary
#CBC386 #86B0CB #A086CB
monochromatic
#968C41 #B9AE5B #CBC386 #DDD8B1 #F0EDDC

Accessibility & contrast

On white

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

On black

11.69
#CBC386 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC386
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC386#FFFFFF#000000##000000
##CBC3861.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF82
Deuteranopia (green-blind)
#D1C388
Tritanopia (blue-blind)
#D5BBB3
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc386;
/* rgb */ color: rgb(203, 195, 134);
/* oklch */ color: oklch(80.9% 0.080 101.6);
Tailwind
colors: {
  custom: {
    50: '#dcd5aa',
    500: '#cbc386',
    950: '#000000',
  },
}
SCSS
$custom: #cbc386;
$custom-light: #dcd5aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc386",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 134
  },
  "hsl": {
    "h": 53.043,
    "s": 39.884,
    "l": 66.078
  },
  "oklch": {
    "l": 0.80932,
    "c": 0.08032,
    "h": 101.6
  },
  "luminance": 0.53448
}

Semantic roles & 50–950 ramp

primary
#CBC386
secondary
#58609D
accent
#41B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC386

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

Preview Lab → · Contrast checker → · Palette generator →

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