#BAB83D#BAB83D

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

Color values

HEX#BAB83D
RGBrgb(186, 184, 61)
HSLhsl(59, 51%, 48%)
HSVhsv(59, 67%, 73%)
CMYKcmyk(0%, 1.1%, 67.2%, 27.1%)
CIE-LABlab(72.93, -14.22, 59.91)
CIE-LCHlch(72.93, 61.57, 103.36°)
OKLaboklab(76.18% -0.0447 0.1343)
OKLCHoklch(76.18% 0.142 108.4)
XYZxyz(38.2338, 45.0582, 11.0971)
Luminance0.4506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB83D #3D3FBA
analogous
#BA793D #BAB83D #7DBA3D
triadic
#BAB83D #3DBAB8 #B83DBA
tetradic
#BAB83D #3DBA79 #3D3FBA #BA3D7D
square
#BAB83D #3DBA79 #3D3FBA #BA3D7D
split-complementary
#BAB83D #3D7DBA #793DBA
monochromatic
#5E5D1F #8C8A2E #BAB83D #CDCC67 #DCDB95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB83D#FFFFFF#000000##000000
##BAB83D1.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)
#C7B12B
Deuteranopia (green-blind)
#C9B545
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab83d;
/* rgb */ color: rgb(186, 184, 61);
/* oklch */ color: oklch(76.2% 0.142 108.4);
Tailwind
colors: {
  custom: {
    50: '#d2cd7a',
    500: '#bab83d',
    950: '#000000',
  },
}
SCSS
$custom: #bab83d;
$custom-light: #d2cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab83d",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 61
  },
  "hsl": {
    "h": 59.04,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76175,
    "c": 0.14156,
    "h": 108.4
  },
  "luminance": 0.45057
}

Semantic roles & 50–950 ramp

primary
#BAB83D
secondary
#8B8CC8
accent
#50DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB83D

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

Preview Lab → · Contrast checker → · Palette generator →

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