#CBAC4A#CBAC4A

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

Color values

HEX#CBAC4A
RGBrgb(203, 172, 74)
HSLhsl(46, 55%, 54%)
HSVhsv(46, 64%, 80%)
CMYKcmyk(0%, 15.3%, 63.5%, 20.4%)
CIE-LABlab(71.35, 0.11, 53.19)
CIE-LCHlch(71.35, 53.19, 89.88°)
OKLaboklab(75.31% -0.0034 0.1216)
OKLCHoklch(75.31% 0.122 91.6)
XYZxyz(40.6191, 42.6982, 12.5793)
Luminance0.4270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC4A #4A69CB
analogous
#CB6B4A #CBAC4A #AACB4A
triadic
#CBAC4A #4ACBAC #AC4ACB
tetradic
#CBAC4A #4ACB6B #4A69CB #CB4AAA
square
#CBAC4A #4ACB6B #4A69CB #CB4AAA
split-complementary
#CBAC4A #4AAACB #6B4ACB
monochromatic
#786423 #A88B30 #CBAC4A #D9C27A #E6D8A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAC4A#FFFFFF#000000##000000
##CBAC4A1.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)
#BDAA3F
Deuteranopia (green-blind)
#C5B24E
Tritanopia (blue-blind)
#DB9F97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cbac4a;
/* rgb */ color: rgb(203, 172, 74);
/* oklch */ color: oklch(75.3% 0.122 91.6);
Tailwind
colors: {
  custom: {
    50: '#dec480',
    500: '#cbac4a',
    950: '#000000',
  },
}
SCSS
$custom: #cbac4a;
$custom-light: #dec480;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac4a",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 74
  },
  "hsl": {
    "h": 45.581,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.75314,
    "c": 0.12168,
    "h": 91.6
  },
  "luminance": 0.42696
}

Semantic roles & 50–950 ramp

primary
#CBAC4A
secondary
#9DAAD4
accent
#6DDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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