#BAB73E#BAB73E

#BAB73E is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.0% C 0.140 H 107.9°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#BAB73E
RGBrgb(186, 183, 62)
HSLhsl(59, 50%, 49%)
HSVhsv(59, 67%, 73%)
CMYKcmyk(0%, 1.6%, 66.7%, 27.1%)
CIE-LABlab(72.66, -13.66, 59.24)
CIE-LCHlch(72.66, 60.79, 102.98°)
OKLaboklab(75.97% -0.043 0.1331)
OKLCHoklch(75.97% 0.14 107.9)
XYZxyz(38.0540, 44.6551, 11.1712)
Luminance0.4465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB73E #3E41BA
analogous
#BA793E #BAB73E #7FBA3E
triadic
#BAB73E #3EBAB7 #B73EBA
tetradic
#BAB73E #3EBA79 #3E41BA #BA3E7F
square
#BAB73E #3EBA79 #3E41BA #BA3E7F
split-complementary
#BAB73E #3E7FBA #793EBA
monochromatic
#5E5D1F #8C8A2F #BAB73E #CDCA68 #DCDA96

Accessibility & contrast

On white

2.11
#BAB73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#BAB73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB73E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB73E#FFFFFF#000000##000000
##BAB73E1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02D
Deuteranopia (green-blind)
#C8B446
Tritanopia (blue-blind)
#C7AB9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab73e;
/* rgb */ color: rgb(186, 183, 62);
/* oklch */ color: oklch(76.0% 0.140 107.9);
Tailwind
colors: {
  custom: {
    50: '#d2cc7a',
    500: '#bab73e',
    950: '#000000',
  },
}
SCSS
$custom: #bab73e;
$custom-light: #d2cc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab73e",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 62
  },
  "hsl": {
    "h": 58.548,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75965,
    "c": 0.13985,
    "h": 107.9
  },
  "luminance": 0.44654
}

Semantic roles & 50–950 ramp

primary
#BAB73E
secondary
#8C8EC8
accent
#52DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB73E

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

Preview Lab → · Contrast checker → · Palette generator →

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