#CBC772#CBC772

#CBC772 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.108 H 106.2°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CBC772
RGBrgb(203, 199, 114)
HSLhsl(57, 46%, 62%)
HSVhsv(57, 44%, 80%)
CMYKcmyk(0%, 2%, 43.8%, 20.4%)
CIE-LABlab(78.90, -10.64, 42.89)
CIE-LCHlch(78.90, 44.19, 103.93°)
OKLaboklab(81.44% -0.03 0.1033)
OKLCHoklch(81.44% 0.108 106.2)
XYZxyz(48.0902, 54.7595, 23.9527)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC772 #7276CB
analogous
#CB9A72 #CBC772 #A3CB72
triadic
#CBC772 #72CBC7 #C772CB
tetradic
#CBC772 #72CB9A #7276CB #CB72A3
square
#CBC772 #72CB9A #7276CB #CB72A3
split-complementary
#CBC772 #72A3CB #9A72CB
monochromatic
#8E8A34 #BBB545 #CBC772 #DBD99F #ECEBCB

Accessibility & contrast

On white

1.76
#CBC772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CBC772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC772
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC772#FFFFFF#000000##000000
##CBC7721.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16B
Deuteranopia (green-blind)
#D6C576
Tritanopia (blue-blind)
#D6BDB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc772;
/* rgb */ color: rgb(203, 199, 114);
/* oklch */ color: oklch(81.4% 0.108 106.2);
Tailwind
colors: {
  custom: {
    50: '#dcd79c',
    500: '#cbc772',
    950: '#000000',
  },
}
SCSS
$custom: #cbc772;
$custom-light: #dcd79c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc772",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 114
  },
  "hsl": {
    "h": 57.303,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.81442,
    "c": 0.10753,
    "h": 106.2
  },
  "luminance": 0.54758
}

Semantic roles & 50–950 ramp

primary
#CBC772
secondary
#4C5095
accent
#33B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC772

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

Preview Lab → · Contrast checker → · Palette generator →

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