#CBC072#CBC072

#CBC072 is a light, moderate yellow. Relative luminance 0.516; OKLCH L 80.0% C 0.100 H 101.3°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CBC072
RGBrgb(203, 192, 114)
HSLhsl(53, 46%, 62%)
HSVhsv(53, 44%, 80%)
CMYKcmyk(0%, 5.4%, 43.8%, 20.4%)
CIE-LABlab(77.05, -7.04, 40.58)
CIE-LCHlch(77.05, 41.19, 99.85°)
OKLaboklab(79.97% -0.0196 0.0981)
OKLCHoklch(79.97% 0.1 101.3)
XYZxyz(46.5166, 51.6121, 23.4281)
Luminance0.5161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC072 #727DCB
analogous
#CB9372 #CBC072 #AACB72
triadic
#CBC072 #72CBC0 #C072CB
tetradic
#CBC072 #72CB93 #727DCB #CB72AA
square
#CBC072 #72CB93 #727DCB #CB72AA
split-complementary
#CBC072 #72AACB #9372CB
monochromatic
#8E8334 #BBAC45 #CBC072 #DBD49F #ECE8CB

Accessibility & contrast

On white

1.85
#CBC072 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CBC072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC072
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC072#FFFFFF#000000##000000
##CBC0721.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6C
Deuteranopia (green-blind)
#D1C075
Tritanopia (blue-blind)
#D7B6AD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc072;
/* rgb */ color: rgb(203, 192, 114);
/* oklch */ color: oklch(80.0% 0.100 101.3);
Tailwind
colors: {
  custom: {
    50: '#dcd29c',
    500: '#cbc072',
    950: '#000000',
  },
}
SCSS
$custom: #cbc072;
$custom-light: #dcd29c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc072",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 114
  },
  "hsl": {
    "h": 52.584,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.7997,
    "c": 0.10003,
    "h": 101.3
  },
  "luminance": 0.51611
}

Semantic roles & 50–950 ramp

primary
#CBC072
secondary
#4C5595
accent
#3EB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC072

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

Preview Lab → · Contrast checker → · Palette generator →

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