#CBAB49#CBAB49

#CBAB49 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 75.1% C 0.122 H 91.0°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#CBAB49
RGBrgb(203, 171, 73)
HSLhsl(45, 56%, 54%)
HSVhsv(45, 64%, 80%)
CMYKcmyk(0%, 15.8%, 64%, 20.4%)
CIE-LABlab(71.08, 0.58, 53.35)
CIE-LCHlch(71.08, 53.36, 89.38°)
OKLaboklab(75.1% -0.0022 0.1218)
OKLCHoklch(75.1% 0.122 91)
XYZxyz(40.3961, 42.3056, 12.3401)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAB49 #4969CB
analogous
#CB6A49 #CBAB49 #AACB49
triadic
#CBAB49 #49CBAB #AB49CB
tetradic
#CBAB49 #49CB6A #4969CB #CB49AA
square
#CBAB49 #49CB6A #4969CB #CB49AA
split-complementary
#CBAB49 #49AACB #6A49CB
monochromatic
#776222 #A78A30 #CBAB49 #D9C179 #E6D7A8

Accessibility & contrast

On white

2.22
#CBAB49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#CBAB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAB49
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAB49#FFFFFF#000000##000000
##CBAB491.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93E
Deuteranopia (green-blind)
#C4B24D
Tritanopia (blue-blind)
#DB9E96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbab49;
/* rgb */ color: rgb(203, 171, 73);
/* oklch */ color: oklch(75.1% 0.122 91.0);
Tailwind
colors: {
  custom: {
    50: '#dec380',
    500: '#cbab49',
    950: '#000000',
  },
}
SCSS
$custom: #cbab49;
$custom-light: #dec380;
$custom-dark: #000000;
JSON
{
  "hex": "#cbab49",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 73
  },
  "hsl": {
    "h": 45.231,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.75099,
    "c": 0.12184,
    "h": 91
  },
  "luminance": 0.42303
}

Semantic roles & 50–950 ramp

primary
#CBAB49
secondary
#9CAAD4
accent
#6EDF49
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAB49

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

Preview Lab → · Contrast checker → · Palette generator →

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