#CBC286#CBC286

#CBC286 is a light, moderate yellow. Relative luminance 0.530; OKLCH L 80.7% C 0.079 H 100.7°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CBC286
RGBrgb(203, 194, 134)
HSLhsl(52, 40%, 66%)
HSVhsv(52, 34%, 80%)
CMYKcmyk(0%, 4.4%, 34%, 20.4%)
CIE-LABlab(77.88, -5.85, 31.37)
CIE-LCHlch(77.88, 31.91, 100.56°)
OKLaboklab(80.72% -0.0147 0.0779)
OKLCHoklch(80.72% 0.079 100.7)
XYZxyz(48.2241, 53.0025, 30.2398)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC286 #868FCB
analogous
#CB9F86 #CBC286 #B1CB86
triadic
#CBC286 #86CBC2 #C286CB
tetradic
#CBC286 #86CB9F #868FCB #CB86B1
square
#CBC286 #86CB9F #868FCB #CB86B1
split-complementary
#CBC286 #86B1CB #9F86CB
monochromatic
#968B41 #B9AC5B #CBC286 #DDD8B1 #F0EDDC

Accessibility & contrast

On white

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

On black

11.60
#CBC286 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC286
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC286#FFFFFF#000000##000000
##CBC2861.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE82
Deuteranopia (green-blind)
#D0C288
Tritanopia (blue-blind)
#D5BAB3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc286;
/* rgb */ color: rgb(203, 194, 134);
/* oklch */ color: oklch(80.7% 0.079 100.7);
Tailwind
colors: {
  custom: {
    50: '#dcd4aa',
    500: '#cbc286',
    950: '#000000',
  },
}
SCSS
$custom: #cbc286;
$custom-light: #dcd4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc286",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 134
  },
  "hsl": {
    "h": 52.174,
    "s": 39.884,
    "l": 66.078
  },
  "oklch": {
    "l": 0.80724,
    "c": 0.07924,
    "h": 100.7
  },
  "luminance": 0.53001
}

Semantic roles & 50–950 ramp

primary
#CBC286
secondary
#58619D
accent
#43B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC286

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

Preview Lab → · Contrast checker → · Palette generator →

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