#CBC287#CBC287

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

Color values

HEX#CBC287
RGBrgb(203, 194, 135)
HSLhsl(52, 40%, 66%)
HSVhsv(52, 33%, 80%)
CMYKcmyk(0%, 4.4%, 33.5%, 20.4%)
CIE-LABlab(77.89, -5.73, 30.87)
CIE-LCHlch(77.89, 31.39, 100.51°)
OKLaboklab(80.74% -0.0143 0.0767)
OKLCHoklch(80.74% 0.078 100.6)
XYZxyz(48.2941, 53.0305, 30.6089)
Luminance0.5303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC287 #8790CB
analogous
#CBA087 #CBC287 #B2CB87
triadic
#CBC287 #87CBC2 #C287CB
tetradic
#CBC287 #87CBA0 #8790CB #CB87B2
square
#CBC287 #87CBA0 #8790CB #CB87B2
split-complementary
#CBC287 #87B2CB #A087CB
monochromatic
#968B41 #B8AC5C #CBC287 #DED8B2 #F0EDDC

Accessibility & contrast

On white

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

On black

11.61
#CBC287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC287
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC287#FFFFFF#000000##000000
##CBC2871.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc287;
/* rgb */ color: rgb(203, 194, 135);
/* oklch */ color: oklch(80.7% 0.078 100.6);
Tailwind
colors: {
  custom: {
    50: '#dbd4aa',
    500: '#cbc287',
    950: '#000000',
  },
}
SCSS
$custom: #cbc287;
$custom-light: #dbd4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc287",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 135
  },
  "hsl": {
    "h": 52.059,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.80743,
    "c": 0.07804,
    "h": 100.6
  },
  "luminance": 0.53029
}

Semantic roles & 50–950 ramp

primary
#CBC287
secondary
#59629D
accent
#44B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CBC287

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

Preview Lab → · Contrast checker → · Palette generator →

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