#CBAC3B#CBAC3B

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

Color values

HEX#CBAC3B
RGBrgb(203, 172, 59)
HSLhsl(47, 58%, 51%)
HSVhsv(47, 71%, 80%)
CMYKcmyk(0%, 15.3%, 70.9%, 20.4%)
CIE-LABlab(71.23, -0.75, 59.48)
CIE-LCHlch(71.23, 59.48, 90.72°)
OKLaboklab(75.18% -0.0077 0.1325)
OKLCHoklch(75.18% 0.133 93.3)
XYZxyz(40.1727, 42.5196, 10.2280)
Luminance0.4252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAC3B #3B5ACB
analogous
#CB643B #CBAC3B #A2CB3B
triadic
#CBAC3B #3BCBAC #AC3BCB
tetradic
#CBAC3B #3BCB64 #3B5ACB #CB3BA2
square
#CBAC3B #3BCB64 #3B5ACB #CB3BA2
split-complementary
#CBAC3B #3BA2CB #643BCB
monochromatic
#6E5D1D #9F862A #CBAC3B #D8C06B #E5D59C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAC3B#FFFFFF#000000##000000
##CBAC3B1.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)
#BEA92B
Deuteranopia (green-blind)
#C6B241
Tritanopia (blue-blind)
#DB9E95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbac3b;
/* rgb */ color: rgb(203, 172, 59);
/* oklch */ color: oklch(75.2% 0.133 93.3);
Tailwind
colors: {
  custom: {
    50: '#dfc478',
    500: '#cbac3b',
    950: '#000000',
  },
}
SCSS
$custom: #cbac3b;
$custom-light: #dfc478;
$custom-dark: #000000;
JSON
{
  "hex": "#cbac3b",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 47.083,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75179,
    "c": 0.1327,
    "h": 93.3
  },
  "luminance": 0.42517
}

Semantic roles & 50–950 ramp

primary
#CBAC3B
secondary
#919FD1
accent
#68E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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