#CBC481#CBC481

#CBC481 is a light, moderate yellow. Relative luminance 0.538; OKLCH L 81.1% C 0.087 H 103.0°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CBC481
RGBrgb(203, 196, 129)
HSLhsl(54, 42%, 65%)
HSVhsv(54, 36%, 80%)
CMYKcmyk(0%, 3.4%, 36.5%, 20.4%)
CIE-LABlab(78.32, -7.48, 34.55)
CIE-LCHlch(78.32, 35.35, 102.21°)
OKLaboklab(81.05% -0.0197 0.0851)
OKLCHoklch(81.05% 0.087 103)
XYZxyz(48.3317, 53.7625, 28.5958)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC481 #8188CB
analogous
#CB9F81 #CBC481 #ADCB81
triadic
#CBC481 #81CBC4 #C481CB
tetradic
#CBC481 #81CB9F #8188CB #CB81AD
square
#CBC481 #81CB9F #8188CB #CB81AD
split-complementary
#CBC481 #81ADCB #9F81CB
monochromatic
#948C3D #B9B056 #CBC481 #DDD8AC #EFEDD8

Accessibility & contrast

On white

1.79
#CBC481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CBC481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC481
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC481#FFFFFF#000000##000000
##CBC4811.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC07C
Deuteranopia (green-blind)
#D2C484
Tritanopia (blue-blind)
#D5BBB3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc481;
/* rgb */ color: rgb(203, 196, 129);
/* oklch */ color: oklch(81.1% 0.087 103.0);
Tailwind
colors: {
  custom: {
    50: '#dcd5a6',
    500: '#cbc481',
    950: '#000000',
  },
}
SCSS
$custom: #cbc481;
$custom-light: #dcd5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc481",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 129
  },
  "hsl": {
    "h": 54.324,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81052,
    "c": 0.08733,
    "h": 103
  },
  "luminance": 0.53761
}

Semantic roles & 50–950 ramp

primary
#CBC481
secondary
#555C9B
accent
#3DB531
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC481

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

Preview Lab → · Contrast checker → · Palette generator →

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