#CBAC32#CBAC32

#CBAC32 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 75.1% C 0.138 H 94.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#CBAC32
RGBrgb(203, 172, 50)
HSLhsl(48, 60%, 50%)
HSVhsv(48, 75%, 80%)
CMYKcmyk(0%, 15.3%, 75.4%, 20.4%)
CIE-LABlab(71.17, -1.16, 62.84)
CIE-LCHlch(71.17, 62.85, 91.06°)
OKLaboklab(75.11% -0.0099 0.1379)
OKLCHoklch(75.11% 0.138 94.1)
XYZxyz(39.9590, 42.4341, 9.1029)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC32 #3251CB
analogous
#CB6032 #CBAC32 #9ECB32
triadic
#CBAC32 #32CBAC #AC32CB
tetradic
#CBAC32 #32CB60 #3251CB #CB329E
square
#CBAC32 #32CB60 #3251CB #CB329E
split-complementary
#CBAC32 #329ECB #6032CB
monochromatic
#69591A #9A8226 #CBAC32 #D8C062 #E4D493

Accessibility & contrast

On white

2.21
#CBAC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#CBAC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAC32
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAC32#FFFFFF#000000##000000
##CBAC321.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91C
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#DC9E94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbac32;
/* rgb */ color: rgb(203, 172, 50);
/* oklch */ color: oklch(75.1% 0.138 94.1);
Tailwind
colors: {
  custom: {
    50: '#dfc473',
    500: '#cbac32',
    950: '#000000',
  },
}
SCSS
$custom: #cbac32;
$custom-light: #dfc473;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac32",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 47.843,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75114,
    "c": 0.13825,
    "h": 94.1
  },
  "luminance": 0.42432
}

Semantic roles & 50–950 ramp

primary
#CBAC32
secondary
#8998CF
accent
#64E444
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAC32

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

Preview Lab → · Contrast checker → · Palette generator →

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