#CBC284#CBC284

#CBC284 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.082 H 101.0°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CBC284
RGBrgb(203, 194, 132)
HSLhsl(52, 41%, 66%)
HSVhsv(52, 35%, 80%)
CMYKcmyk(0%, 4.4%, 35%, 20.4%)
CIE-LABlab(77.84, -6.09, 32.37)
CIE-LCHlch(77.84, 32.94, 100.66°)
OKLaboklab(80.69% -0.0155 0.0801)
OKLCHoklch(80.69% 0.082 101)
XYZxyz(48.0859, 52.9472, 29.5121)
Luminance0.5295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC284 #848DCB
analogous
#CB9E84 #CBC284 #B0CB84
triadic
#CBC284 #84CBC2 #C284CB
tetradic
#CBC284 #84CB9E #848DCB #CB84B0
square
#CBC284 #84CB9E #848DCB #CB84B0
split-complementary
#CBC284 #84B0CB #9E84CB
monochromatic
#958A3F #B9AD59 #CBC284 #DDD7AF #EFEDDA

Accessibility & contrast

On white

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

On black

11.59
#CBC284 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC284
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC284#FFFFFF#000000##000000
##CBC2841.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBE80
Deuteranopia (green-blind)
#D0C286
Tritanopia (blue-blind)
#D5BAB2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc284;
/* rgb */ color: rgb(203, 194, 132);
/* oklch */ color: oklch(80.7% 0.082 101.0);
Tailwind
colors: {
  custom: {
    50: '#dcd4a8',
    500: '#cbc284',
    950: '#000000',
  },
}
SCSS
$custom: #cbc284;
$custom-light: #dcd4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc284",
  "rgb": {
    "r": 203,
    "g": 194,
    "b": 132
  },
  "hsl": {
    "h": 52.394,
    "s": 40.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.80688,
    "c": 0.08162,
    "h": 101
  },
  "luminance": 0.52946
}

Semantic roles & 50–950 ramp

primary
#CBC284
secondary
#57609C
accent
#42B432
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC284

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

Preview Lab → · Contrast checker → · Palette generator →

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