#CBC372#CBC372

#CBC372 is a light, moderate yellow. Relative luminance 0.529; OKLCH L 80.6% C 0.103 H 103.5°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#CBC372
RGBrgb(203, 195, 114)
HSLhsl(55, 46%, 62%)
HSVhsv(55, 44%, 80%)
CMYKcmyk(0%, 3.9%, 43.8%, 20.4%)
CIE-LABlab(77.84, -8.59, 41.57)
CIE-LCHlch(77.84, 42.45, 101.68°)
OKLaboklab(80.6% -0.0241 0.1003)
OKLCHoklch(80.6% 0.103 103.5)
XYZxyz(47.1820, 52.9430, 23.6499)
Luminance0.5294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC372 #727ACB
analogous
#CB9772 #CBC372 #A6CB72
triadic
#CBC372 #72CBC3 #C372CB
tetradic
#CBC372 #72CB97 #727ACB #CB72A6
square
#CBC372 #72CB97 #727ACB #CB72A6
split-complementary
#CBC372 #72A6CB #9772CB
monochromatic
#8E8634 #BBB045 #CBC372 #DBD69F #ECE9CB

Accessibility & contrast

On white

1.81
#CBC372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#CBC372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC372
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC372#FFFFFF#000000##000000
##CBC3721.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BE6B
Deuteranopia (green-blind)
#D3C275
Tritanopia (blue-blind)
#D7B9AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc372;
/* rgb */ color: rgb(203, 195, 114);
/* oklch */ color: oklch(80.6% 0.103 103.5);
Tailwind
colors: {
  custom: {
    50: '#dcd59c',
    500: '#cbc372',
    950: '#000000',
  },
}
SCSS
$custom: #cbc372;
$custom-light: #dcd59c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc372",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 114
  },
  "hsl": {
    "h": 54.607,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.80599,
    "c": 0.10316,
    "h": 103.5
  },
  "luminance": 0.52942
}

Semantic roles & 50–950 ramp

primary
#CBC372
secondary
#4C5395
accent
#39B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC372

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

Preview Lab → · Contrast checker → · Palette generator →

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