#CBAB46#CBAB46

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

Color values

HEX#CBAB46
RGBrgb(203, 171, 70)
HSLhsl(46, 56%, 54%)
HSVhsv(46, 66%, 80%)
CMYKcmyk(0%, 15.8%, 65.5%, 20.4%)
CIE-LABlab(71.05, 0.39, 54.66)
CIE-LCHlch(71.05, 54.66, 89.59°)
OKLaboklab(75.07% -0.0031 0.1242)
OKLCHoklch(75.07% 0.124 91.4)
XYZxyz(40.2990, 42.2668, 11.8288)
Luminance0.4227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAB46 #4666CB
analogous
#CB6846 #CBAB46 #A8CB46
triadic
#CBAB46 #46CBAB #AB46CB
tetradic
#CBAB46 #46CB68 #4666CB #CB46A8
square
#CBAB46 #46CB68 #4666CB #CB46A8
split-complementary
#CBAB46 #46A8CB #6846CB
monochromatic
#766121 #A5892E #CBAB46 #D8C176 #E6D6A6

Accessibility & contrast

On white

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

On black

9.45
#CBAB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAB46
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAB46#FFFFFF#000000##000000
##CBAB461.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbab46;
/* rgb */ color: rgb(203, 171, 70);
/* oklch */ color: oklch(75.1% 0.124 91.4);
Tailwind
colors: {
  custom: {
    50: '#dec37e',
    500: '#cbab46',
    950: '#000000',
  },
}
SCSS
$custom: #cbab46;
$custom-light: #dec37e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbab46",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 70
  },
  "hsl": {
    "h": 45.564,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7507,
    "c": 0.12419,
    "h": 91.4
  },
  "luminance": 0.42265
}

Semantic roles & 50–950 ramp

primary
#CBAB46
secondary
#9AA8D3
accent
#6DDF48
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAB46

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

Preview Lab → · Contrast checker → · Palette generator →

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