#BAB045#BAB045

#BAB045 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.5% C 0.128 H 104.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#BAB045
RGBrgb(186, 176, 69)
HSLhsl(55, 46%, 50%)
HSVhsv(55, 63%, 73%)
CMYKcmyk(0%, 5.4%, 62.9%, 27.1%)
CIE-LABlab(70.82, -9.62, 54.38)
CIE-LCHlch(70.82, 55.23, 100.03°)
OKLaboklab(74.51% -0.0308 0.1239)
OKLCHoklch(74.51% 0.128 104)
XYZxyz(36.8506, 41.9208, 11.7795)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB045 #454FBA
analogous
#BA7645 #BAB045 #89BA45
triadic
#BAB045 #45BAB0 #B045BA
tetradic
#BAB045 #45BA76 #454FBA #BA4589
square
#BAB045 #45BA76 #454FBA #BA4589
split-complementary
#BAB045 #4589BA #7645BA
monochromatic
#615C24 #8D8634 #BAB045 #CBC372 #DBD69E

Accessibility & contrast

On white

2.24
#BAB045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#BAB045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB045
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB045#FFFFFF#000000##000000
##BAB0451.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA38
Deuteranopia (green-blind)
#C2B04B
Tritanopia (blue-blind)
#C7A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bab045;
/* rgb */ color: rgb(186, 176, 69);
/* oklch */ color: oklch(74.5% 0.128 104.0);
Tailwind
colors: {
  custom: {
    50: '#d2c77d',
    500: '#bab045',
    950: '#000000',
  },
}
SCSS
$custom: #bab045;
$custom-light: #d2c77d;
$custom-dark: #000000;
JSON
{
  "hex": "#bab045",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 54.872,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.74511,
    "c": 0.12767,
    "h": 104
  },
  "luminance": 0.41919
}

Semantic roles & 50–950 ramp

primary
#BAB045
secondary
#9398C8
accent
#5DD652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB045

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

Preview Lab → · Contrast checker → · Palette generator →

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