#CBC476#CBC476

#CBC476 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.100 H 103.9°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CBC476
RGBrgb(203, 196, 118)
HSLhsl(55, 45%, 63%)
HSVhsv(55, 42%, 80%)
CMYKcmyk(0%, 3.4%, 41.9%, 20.4%)
CIE-LABlab(78.16, -8.69, 39.96)
CIE-LCHlch(78.16, 40.89, 102.27°)
OKLaboklab(80.87% -0.024 0.0969)
OKLCHoklch(80.87% 0.1 103.9)
XYZxyz(47.6395, 53.4856, 24.9503)
Luminance0.5348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC476 #767DCB
analogous
#CB9976 #CBC476 #A7CB76
triadic
#CBC476 #76CBC4 #C476CB
tetradic
#CBC476 #76CB99 #767DCB #CB76A7
square
#CBC476 #76CB99 #767DCB #CB76A7
split-complementary
#CBC476 #76A7CB #9976CB
monochromatic
#908937 #BAB14A #CBC476 #DCD7A2 #EDEACF

Accessibility & contrast

On white

1.80
#CBC476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CBC476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC476
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC476#FFFFFF#000000##000000
##CBC4761.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF70
Deuteranopia (green-blind)
#D3C379
Tritanopia (blue-blind)
#D6BAB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc476;
/* rgb */ color: rgb(203, 196, 118);
/* oklch */ color: oklch(80.9% 0.100 103.9);
Tailwind
colors: {
  custom: {
    50: '#dcd59f',
    500: '#cbc476',
    950: '#000000',
  },
}
SCSS
$custom: #cbc476;
$custom-light: #dcd59f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc476",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 118
  },
  "hsl": {
    "h": 55.059,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8087,
    "c": 0.09985,
    "h": 103.9
  },
  "luminance": 0.53484
}

Semantic roles & 50–950 ramp

primary
#CBC476
secondary
#4F5497
accent
#39B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC476

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

Preview Lab → · Contrast checker → · Palette generator →

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