#CBAC3A#CBAC3A

#CBAC3A is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.2% C 0.133 H 93.4°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#CBAC3A
RGBrgb(203, 172, 58)
HSLhsl(47, 58%, 51%)
HSVhsv(47, 71%, 80%)
CMYKcmyk(0%, 15.3%, 71.4%, 20.4%)
CIE-LABlab(71.22, -0.80, 59.87)
CIE-LCHlch(71.22, 59.87, 90.76°)
OKLaboklab(75.17% -0.0079 0.1331)
OKLCHoklch(75.17% 0.133 93.4)
XYZxyz(40.1470, 42.5093, 10.0927)
Luminance0.4251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC3A #3A59CB
analogous
#CB633A #CBAC3A #A2CB3A
triadic
#CBAC3A #3ACBAC #AC3ACB
tetradic
#CBAC3A #3ACB63 #3A59CB #CB3AA2
square
#CBAC3A #3ACB63 #3A59CB #CB3AA2
split-complementary
#CBAC3A #3AA2CB #633ACB
monochromatic
#6E5C1D #9E852A #CBAC3A #D8C06A #E5D59B

Accessibility & contrast

On white

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

On black

9.50
#CBAC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAC3A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAC3A#FFFFFF#000000##000000
##CBAC3A1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA929
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#DB9E95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbac3a;
/* rgb */ color: rgb(203, 172, 58);
/* oklch */ color: oklch(75.2% 0.133 93.4);
Tailwind
colors: {
  custom: {
    50: '#dfc477',
    500: '#cbac3a',
    950: '#000000',
  },
}
SCSS
$custom: #cbac3a;
$custom-light: #dfc477;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac3a",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 47.172,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75171,
    "c": 0.13336,
    "h": 93.4
  },
  "luminance": 0.42507
}

Semantic roles & 50–950 ramp

primary
#CBAC3A
secondary
#909ED0
accent
#68E146
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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