#BAB53D#BAB53D

#BAB53D is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.139 H 107.0°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#BAB53D
RGBrgb(186, 181, 61)
HSLhsl(58, 51%, 48%)
HSVhsv(58, 67%, 73%)
CMYKcmyk(0%, 2.7%, 67.2%, 27.1%)
CIE-LABlab(72.11, -12.69, 59.08)
CIE-LCHlch(72.11, 60.42, 102.12°)
OKLaboklab(75.52% -0.0404 0.1326)
OKLCHoklch(75.52% 0.139 107)
XYZxyz(37.6173, 43.8250, 10.8915)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB53D #3D42BA
analogous
#BA763D #BAB53D #80BA3D
triadic
#BAB53D #3DBAB5 #B53DBA
tetradic
#BAB53D #3DBA76 #3D42BA #BA3D80
square
#BAB53D #3DBA76 #3D42BA #BA3D80
split-complementary
#BAB53D #3D80BA #763DBA
monochromatic
#5E5B1F #8C882E #BAB53D #CDC967 #DCD995

Accessibility & contrast

On white

2.15
#BAB53D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#BAB53D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB53D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB53D#FFFFFF#000000##000000
##BAB53D1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2C
Deuteranopia (green-blind)
#C6B345
Tritanopia (blue-blind)
#C7A99D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab53d;
/* rgb */ color: rgb(186, 181, 61);
/* oklch */ color: oklch(75.5% 0.139 107.0);
Tailwind
colors: {
  custom: {
    50: '#d2ca79',
    500: '#bab53d',
    950: '#000000',
  },
}
SCSS
$custom: #bab53d;
$custom-light: #d2ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#bab53d",
  "rgb": {
    "r": 186,
    "g": 181,
    "b": 61
  },
  "hsl": {
    "h": 57.6,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75522,
    "c": 0.13857,
    "h": 107
  },
  "luminance": 0.43824
}

Semantic roles & 50–950 ramp

primary
#BAB53D
secondary
#8B8EC8
accent
#53DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB53D

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

Preview Lab → · Contrast checker → · Palette generator →

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