#BAB83E#BAB83E

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

Color values

HEX#BAB83E
RGBrgb(186, 184, 62)
HSLhsl(59, 50%, 49%)
HSVhsv(59, 67%, 73%)
CMYKcmyk(0%, 1.1%, 66.7%, 27.1%)
CIE-LABlab(72.94, -14.17, 59.52)
CIE-LCHlch(72.94, 61.18, 103.39°)
OKLaboklab(76.18% -0.0445 0.1337)
OKLCHoklch(76.18% 0.141 108.4)
XYZxyz(38.2610, 45.0691, 11.2402)
Luminance0.4507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB83E #3E40BA
analogous
#BA7A3E #BAB83E #7EBA3E
triadic
#BAB83E #3EBAB8 #B83EBA
tetradic
#BAB83E #3EBA7A #3E40BA #BA3E7E
square
#BAB83E #3EBA7A #3E40BA #BA3E7E
split-complementary
#BAB83E #3E7EBA #7A3EBA
monochromatic
#5E5D1F #8C8B2F #BAB83E #CDCB68 #DCDB96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB83E#FFFFFF#000000##000000
##BAB83E1.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)
#C7B12C
Deuteranopia (green-blind)
#C9B546
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab83e;
/* rgb */ color: rgb(186, 184, 62);
/* oklch */ color: oklch(76.2% 0.141 108.4);
Tailwind
colors: {
  custom: {
    50: '#d2cd7a',
    500: '#bab83e',
    950: '#000000',
  },
}
SCSS
$custom: #bab83e;
$custom-light: #d2cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab83e",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 62
  },
  "hsl": {
    "h": 59.032,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76183,
    "c": 0.14085,
    "h": 108.4
  },
  "luminance": 0.45068
}

Semantic roles & 50–950 ramp

primary
#BAB83E
secondary
#8C8DC8
accent
#51DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB83E

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

Preview Lab → · Contrast checker → · Palette generator →

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