#CBC784#CBC784

#CBC784 is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.087 H 105.2°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#CBC784
RGBrgb(203, 199, 132)
HSLhsl(57, 41%, 66%)
HSVhsv(57, 35%, 80%)
CMYKcmyk(0%, 2%, 35%, 20.4%)
CIE-LABlab(79.16, -8.67, 34.09)
CIE-LCHlch(79.16, 35.18, 104.27°)
OKLaboklab(81.73% -0.0229 0.0841)
OKLCHoklch(81.73% 0.087 105.2)
XYZxyz(49.2174, 55.2103, 29.8893)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC784 #8488CB
analogous
#CBA384 #CBC784 #ABCB84
triadic
#CBC784 #84CBC7 #C784CB
tetradic
#CBC784 #84CBA3 #8488CB #CB84AB
square
#CBC784 #84CBA3 #8488CB #CB84AB
split-complementary
#CBC784 #84ABCB #A384CB
monochromatic
#95913F #B9B359 #CBC784 #DDDBAF #EFEEDA

Accessibility & contrast

On white

1.74
#CBC784 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#CBC784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC784
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC784#FFFFFF#000000##000000
##CBC7841.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C27F
Deuteranopia (green-blind)
#D4C687
Tritanopia (blue-blind)
#D5BFB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc784;
/* rgb */ color: rgb(203, 199, 132);
/* oklch */ color: oklch(81.7% 0.087 105.2);
Tailwind
colors: {
  custom: {
    50: '#dcd7a8',
    500: '#cbc784',
    950: '#000000',
  },
}
SCSS
$custom: #cbc784;
$custom-light: #dcd7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc784",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 132
  },
  "hsl": {
    "h": 56.62,
    "s": 40.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.81732,
    "c": 0.08721,
    "h": 105.2
  },
  "luminance": 0.55209
}

Semantic roles & 50–950 ramp

primary
#CBC784
secondary
#575B9C
accent
#39B432
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#151410
muted
#848380

Preview Lab

Preview with #CBC784

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

Preview Lab → · Contrast checker → · Palette generator →

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