#BAB53C#BAB53C

#BAB53C 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#BAB53C
RGBrgb(186, 181, 60)
HSLhsl(58, 51%, 48%)
HSVhsv(58, 68%, 73%)
CMYKcmyk(0%, 2.7%, 67.7%, 27.1%)
CIE-LABlab(72.10, -12.74, 59.46)
CIE-LCHlch(72.10, 60.81, 102.10°)
OKLaboklab(75.51% -0.0407 0.1332)
OKLCHoklch(75.51% 0.139 107)
XYZxyz(37.5906, 43.8144, 10.7510)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB53C #3C41BA
analogous
#BA763C #BAB53C #80BA3C
triadic
#BAB53C #3CBAB5 #B53CBA
tetradic
#BAB53C #3CBA76 #3C41BA #BA3C80
square
#BAB53C #3CBA76 #3C41BA #BA3C80
split-complementary
#BAB53C #3C80BA #763CBA
monochromatic
#5D5B1E #8C882D #BAB53C #CEC966 #DCDA94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB53C#FFFFFF#000000##000000
##BAB53C1.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)
#C4AE2A
Deuteranopia (green-blind)
#C6B344
Tritanopia (blue-blind)
#C7A99D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab53c;
/* rgb */ color: rgb(186, 181, 60);
/* oklch */ color: oklch(75.5% 0.139 107.0);
Tailwind
colors: {
  custom: {
    50: '#d2ca79',
    500: '#bab53c',
    950: '#000000',
  },
}
SCSS
$custom: #bab53c;
$custom-light: #d2ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#bab53c",
  "rgb": {
    "r": 186,
    "g": 181,
    "b": 60
  },
  "hsl": {
    "h": 57.619,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75514,
    "c": 0.13927,
    "h": 107
  },
  "luminance": 0.43813
}

Semantic roles & 50–950 ramp

primary
#BAB53C
secondary
#8A8CC8
accent
#53DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB53C

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

Preview Lab → · Contrast checker → · Palette generator →

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