#CBC181#CBC181

#CBC181 is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.084 H 100.4°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CBC181
RGBrgb(203, 193, 129)
HSLhsl(52, 42%, 65%)
HSVhsv(52, 36%, 80%)
CMYKcmyk(0%, 4.9%, 36.5%, 20.4%)
CIE-LABlab(77.53, -5.92, 33.52)
CIE-LCHlch(77.53, 34.04, 100.02°)
OKLaboklab(80.43% -0.0152 0.0827)
OKLCHoklch(80.43% 0.084 100.4)
XYZxyz(47.6617, 52.4227, 28.3725)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC181 #818BCB
analogous
#CB9C81 #CBC181 #B0CB81
triadic
#CBC181 #81CBC1 #C181CB
tetradic
#CBC181 #81CB9C #818BCB #CB81B0
square
#CBC181 #81CB9C #818BCB #CB81B0
split-complementary
#CBC181 #81B0CB #9C81CB
monochromatic
#94893D #B9AC56 #CBC181 #DDD6AC #EFECD8

Accessibility & contrast

On white

1.83
#CBC181 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#CBC181 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC181
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC181#FFFFFF#000000##000000
##CBC1811.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBD7C
Deuteranopia (green-blind)
#D0C183
Tritanopia (blue-blind)
#D6B8B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc181;
/* rgb */ color: rgb(203, 193, 129);
/* oklch */ color: oklch(80.4% 0.084 100.4);
Tailwind
colors: {
  custom: {
    50: '#dcd3a6',
    500: '#cbc181',
    950: '#000000',
  },
}
SCSS
$custom: #cbc181;
$custom-light: #dcd3a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc181",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 129
  },
  "hsl": {
    "h": 51.892,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.80426,
    "c": 0.08409,
    "h": 100.4
  },
  "luminance": 0.52421
}

Semantic roles & 50–950 ramp

primary
#CBC181
secondary
#555F9B
accent
#43B531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC181

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

Preview Lab → · Contrast checker → · Palette generator →

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