#CBAC4C#CBAC4C

#CBAC4C is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.120 H 91.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#CBAC4C
RGBrgb(203, 172, 76)
HSLhsl(45, 55%, 55%)
HSVhsv(45, 63%, 80%)
CMYKcmyk(0%, 15.3%, 62.6%, 20.4%)
CIE-LABlab(71.37, 0.24, 52.31)
CIE-LCHlch(71.37, 52.31, 89.74°)
OKLaboklab(75.33% -0.0028 0.12)
OKLCHoklch(75.33% 0.12 91.3)
XYZxyz(40.6876, 42.7256, 12.9398)
Luminance0.4272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC4C #4C6BCB
analogous
#CB6C4C #CBAC4C #ABCB4C
triadic
#CBAC4C #4CCBAC #AC4CCB
tetradic
#CBAC4C #4CCB6C #4C6BCB #CB4CAB
square
#CBAC4C #4CCB6C #4C6BCB #CB4CAB
split-complementary
#CBAC4C #4CABCB #6C4CCB
monochromatic
#796423 #A98C31 #CBAC4C #D9C27B #E7D8AB

Accessibility & contrast

On white

2.20
#CBAC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#CBAC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAC4C
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAC4C#FFFFFF#000000##000000
##CBAC4C1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA42
Deuteranopia (green-blind)
#C5B350
Tritanopia (blue-blind)
#DB9F97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbac4c;
/* rgb */ color: rgb(203, 172, 76);
/* oklch */ color: oklch(75.3% 0.120 91.3);
Tailwind
colors: {
  custom: {
    50: '#dec482',
    500: '#cbac4c',
    950: '#000000',
  },
}
SCSS
$custom: #cbac4c;
$custom-light: #dec482;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac4c",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 76
  },
  "hsl": {
    "h": 45.354,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75335,
    "c": 0.12005,
    "h": 91.3
  },
  "luminance": 0.42723
}

Semantic roles & 50–950 ramp

primary
#CBAC4C
secondary
#9FACD4
accent
#6EDE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CBAC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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