#BAB043#BAB043

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

Color values

HEX#BAB043
RGBrgb(186, 176, 67)
HSLhsl(55, 47%, 50%)
HSVhsv(55, 64%, 73%)
CMYKcmyk(0%, 5.4%, 64%, 27.1%)
CIE-LABlab(70.80, -9.75, 55.23)
CIE-LCHlch(70.80, 56.08, 100.01°)
OKLaboklab(74.49% -0.0314 0.1254)
OKLCHoklch(74.49% 0.129 104.1)
XYZxyz(36.7895, 41.8964, 11.4580)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB043 #434DBA
analogous
#BA7543 #BAB043 #89BA43
triadic
#BAB043 #43BAB0 #B043BA
tetradic
#BAB043 #43BA75 #434DBA #BA4389
square
#BAB043 #43BA75 #434DBA #BA4389
split-complementary
#BAB043 #4389BA #7543BA
monochromatic
#605B23 #8D8533 #BAB043 #CBC36F #DBD69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB043#FFFFFF#000000##000000
##BAB0431.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)
#BFAA36
Deuteranopia (green-blind)
#C2B049
Tritanopia (blue-blind)
#C7A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bab043;
/* rgb */ color: rgb(186, 176, 67);
/* oklch */ color: oklch(74.5% 0.129 104.1);
Tailwind
colors: {
  custom: {
    50: '#d2c77c',
    500: '#bab043',
    950: '#000000',
  },
}
SCSS
$custom: #bab043;
$custom-light: #d2c77c;
$custom-dark: #000000;
JSON
{
  "hex": "#bab043",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 67
  },
  "hsl": {
    "h": 54.958,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74492,
    "c": 0.12926,
    "h": 104.1
  },
  "luminance": 0.41895
}

Semantic roles & 50–950 ramp

primary
#BAB043
secondary
#9196C8
accent
#5CD751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB043

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

Preview Lab → · Contrast checker → · Palette generator →

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