#CBAB41#CBAB41

#CBAB41 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 75.0% C 0.128 H 92.0°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#CBAB41
RGBrgb(203, 171, 65)
HSLhsl(46, 57%, 53%)
HSVhsv(46, 68%, 80%)
CMYKcmyk(0%, 15.8%, 68%, 20.4%)
CIE-LABlab(71.01, 0.10, 56.78)
CIE-LCHlch(71.01, 56.78, 89.90°)
OKLaboklab(75.02% -0.0046 0.1278)
OKLCHoklch(75.02% 0.128 92)
XYZxyz(40.1477, 42.2063, 11.0320)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAB41 #4161CB
analogous
#CB6641 #CBAB41 #A6CB41
triadic
#CBAB41 #41CBAB #AB41CB
tetradic
#CBAB41 #41CB66 #4161CB #CB41A6
square
#CBAB41 #41CB66 #4161CB #CB41A6
split-complementary
#CBAB41 #41A6CB #6641CB
monochromatic
#725F1F #A2872C #CBAB41 #D8C071 #E5D5A1

Accessibility & contrast

On white

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

On black

9.44
#CBAB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAB41
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAB41#FFFFFF#000000##000000
##CBAB411.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA833
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#DB9E95
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbab41;
/* rgb */ color: rgb(203, 171, 65);
/* oklch */ color: oklch(75.0% 0.128 92.0);
Tailwind
colors: {
  custom: {
    50: '#dec37b',
    500: '#cbab41',
    950: '#000000',
  },
}
SCSS
$custom: #cbab41;
$custom-light: #dec37b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbab41",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 46.087,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.75024,
    "c": 0.12792,
    "h": 92
  },
  "luminance": 0.42204
}

Semantic roles & 50–950 ramp

primary
#CBAB41
secondary
#96A4D2
accent
#6BE048
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CBAB41

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

Preview Lab → · Contrast checker → · Palette generator →

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