#CBAB47#CBAB47

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

Color values

HEX#CBAB47
RGBrgb(203, 171, 71)
HSLhsl(45, 56%, 54%)
HSVhsv(45, 65%, 80%)
CMYKcmyk(0%, 15.8%, 65%, 20.4%)
CIE-LABlab(71.06, 0.45, 54.23)
CIE-LCHlch(71.06, 54.23, 89.52°)
OKLaboklab(75.08% -0.0028 0.1234)
OKLCHoklch(75.08% 0.123 91.3)
XYZxyz(40.3308, 42.2795, 11.9965)
Luminance0.4228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAB47 #4767CB
analogous
#CB6947 #CBAB47 #A9CB47
triadic
#CBAB47 #47CBAB #AB47CB
tetradic
#CBAB47 #47CB69 #4767CB #CB47A9
square
#CBAB47 #47CB69 #4767CB #CB47A9
split-complementary
#CBAB47 #47A9CB #6947CB
monochromatic
#766221 #A6892F #CBAB47 #D8C177 #E6D7A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAB47#FFFFFF#000000##000000
##CBAB471.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)
#BDA93B
Deuteranopia (green-blind)
#C5B24C
Tritanopia (blue-blind)
#DB9E96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbab47;
/* rgb */ color: rgb(203, 171, 71);
/* oklch */ color: oklch(75.1% 0.123 91.3);
Tailwind
colors: {
  custom: {
    50: '#dec37f',
    500: '#cbab47',
    950: '#000000',
  },
}
SCSS
$custom: #cbab47;
$custom-light: #dec37f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbab47",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 71
  },
  "hsl": {
    "h": 45.455,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75079,
    "c": 0.12341,
    "h": 91.3
  },
  "luminance": 0.42277
}

Semantic roles & 50–950 ramp

primary
#CBAB47
secondary
#9BA8D3
accent
#6DDF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAB47

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

Preview Lab → · Contrast checker → · Palette generator →

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