#BAB83B#BAB83B

#BAB83B is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.2% C 0.143 H 108.5°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#BAB83B
RGBrgb(186, 184, 59)
HSLhsl(59, 52%, 48%)
HSVhsv(59, 68%, 73%)
CMYKcmyk(0%, 1.1%, 68.3%, 27.1%)
CIE-LABlab(72.92, -14.33, 60.67)
CIE-LCHlch(72.92, 62.34, 103.29°)
OKLaboklab(76.16% -0.0452 0.1356)
OKLCHoklch(76.16% 0.143 108.5)
XYZxyz(38.1810, 45.0370, 10.8186)
Luminance0.4504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB83B #3B3DBA
analogous
#BA783B #BAB83B #7CBA3B
triadic
#BAB83B #3BBAB8 #B83BBA
tetradic
#BAB83B #3BBA78 #3B3DBA #BA3B7C
square
#BAB83B #3BBA78 #3B3DBA #BA3B7C
split-complementary
#BAB83B #3B7CBA #783BBA
monochromatic
#5D5C1E #8C8A2C #BAB83B #CECC64 #DDDB93

Accessibility & contrast

On white

2.10
#BAB83B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#BAB83B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB83B
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB83B#FFFFFF#000000##000000
##BAB83B1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B128
Deuteranopia (green-blind)
#C9B544
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab83b;
/* rgb */ color: rgb(186, 184, 59);
/* oklch */ color: oklch(76.2% 0.143 108.5);
Tailwind
colors: {
  custom: {
    50: '#d2cd78',
    500: '#bab83b',
    950: '#000000',
  },
}
SCSS
$custom: #bab83b;
$custom-light: #d2cd78;
$custom-dark: #000000;
JSON
{
  "hex": "#bab83b",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 59
  },
  "hsl": {
    "h": 59.055,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76159,
    "c": 0.14293,
    "h": 108.5
  },
  "luminance": 0.45036
}

Semantic roles & 50–950 ramp

primary
#BAB83B
secondary
#898AC8
accent
#4FDB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB83B

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

Preview Lab → · Contrast checker → · Palette generator →

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