#CBC472#CBC472

#CBC472 is a light, moderate yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.104 H 104.2°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CBC472
RGBrgb(203, 196, 114)
HSLhsl(55, 46%, 62%)
HSVhsv(55, 44%, 80%)
CMYKcmyk(0%, 3.4%, 43.8%, 20.4%)
CIE-LABlab(78.11, -9.11, 41.90)
CIE-LCHlch(78.11, 42.88, 102.26°)
OKLaboklab(80.81% -0.0256 0.1011)
OKLCHoklch(80.81% 0.104 104.2)
XYZxyz(47.4068, 53.3926, 23.7249)
Luminance0.5339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC472 #7279CB
analogous
#CB9872 #CBC472 #A6CB72
triadic
#CBC472 #72CBC4 #C472CB
tetradic
#CBC472 #72CB98 #7279CB #CB72A6
square
#CBC472 #72CB98 #7279CB #CB72A6
split-complementary
#CBC472 #72A6CB #9872CB
monochromatic
#8E8734 #BBB145 #CBC472 #DBD79F #ECE9CB

Accessibility & contrast

On white

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

On black

11.68
#CBC472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC472
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC472#FFFFFF#000000##000000
##CBC4721.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6B
Deuteranopia (green-blind)
#D4C376
Tritanopia (blue-blind)
#D7BAB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc472;
/* rgb */ color: rgb(203, 196, 114);
/* oklch */ color: oklch(80.8% 0.104 104.2);
Tailwind
colors: {
  custom: {
    50: '#dcd59c',
    500: '#cbc472',
    950: '#000000',
  },
}
SCSS
$custom: #cbc472;
$custom-light: #dcd59c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc472",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 114
  },
  "hsl": {
    "h": 55.281,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.80809,
    "c": 0.10423,
    "h": 104.2
  },
  "luminance": 0.53391
}

Semantic roles & 50–950 ramp

primary
#CBC472
secondary
#4C5295
accent
#37B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC472

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

Preview Lab → · Contrast checker → · Palette generator →

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