#CBCA72#CBCA72

#CBCA72 is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.111 H 108.0°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CBCA72
RGBrgb(203, 202, 114)
HSLhsl(59, 46%, 62%)
HSVhsv(59, 44%, 80%)
CMYKcmyk(0%, 0.5%, 43.8%, 20.4%)
CIE-LABlab(79.70, -12.17, 43.88)
CIE-LCHlch(79.70, 45.54, 105.50°)
OKLaboklab(82.08% -0.0343 0.1055)
OKLCHoklch(82.08% 0.111 108)
XYZxyz(48.7873, 56.1536, 24.1850)
Luminance0.5615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBCA72 #7273CB
analogous
#CB9E72 #CBCA72 #A0CB72
triadic
#CBCA72 #72CBCA #CA72CB
tetradic
#CBCA72 #72CB9E #7273CB #CB72A0
square
#CBCA72 #72CB9E #7273CB #CB72A0
split-complementary
#CBCA72 #72A0CB #9E72CB
monochromatic
#8E8D34 #BBB945 #CBCA72 #DBDB9F #ECECCB

Accessibility & contrast

On white

1.72
#CBCA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#CBCA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBCA72
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBCA72#FFFFFF#000000##000000
##CBCA721.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C46B
Deuteranopia (green-blind)
#D8C776
Tritanopia (blue-blind)
#D6C0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cbca72;
/* rgb */ color: rgb(203, 202, 114);
/* oklch */ color: oklch(82.1% 0.111 108.0);
Tailwind
colors: {
  custom: {
    50: '#dcda9c',
    500: '#cbca72',
    950: '#000000',
  },
}
SCSS
$custom: #cbca72;
$custom-light: #dcda9c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbca72",
  "rgb": {
    "r": 203,
    "g": 202,
    "b": 114
  },
  "hsl": {
    "h": 59.326,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82077,
    "c": 0.11092,
    "h": 108
  },
  "luminance": 0.56152
}

Semantic roles & 50–950 ramp

primary
#CBCA72
secondary
#4C4D95
accent
#2EB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBCA72

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

Preview Lab → · Contrast checker → · Palette generator →

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