#BAB63E#BAB63E

#BAB63E is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.139 H 107.4°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#BAB63E
RGBrgb(186, 182, 62)
HSLhsl(58, 50%, 49%)
HSVhsv(58, 67%, 73%)
CMYKcmyk(0%, 2.2%, 66.7%, 27.1%)
CIE-LABlab(72.39, -13.14, 58.96)
CIE-LCHlch(72.39, 60.41, 102.57°)
OKLaboklab(75.75% -0.0416 0.1325)
OKLCHoklch(75.75% 0.139 107.4)
XYZxyz(37.8485, 44.2440, 11.1027)
Luminance0.4424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB63E #3E42BA
analogous
#BA783E #BAB63E #80BA3E
triadic
#BAB63E #3EBAB6 #B63EBA
tetradic
#BAB63E #3EBA78 #3E42BA #BA3E80
square
#BAB63E #3EBA78 #3E42BA #BA3E80
split-complementary
#BAB63E #3E80BA #783EBA
monochromatic
#5E5C1F #8C892F #BAB63E #CDCA68 #DCDA96

Accessibility & contrast

On white

2.13
#BAB63E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#BAB63E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB63E
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB63E#FFFFFF#000000##000000
##BAB63E1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2D
Deuteranopia (green-blind)
#C7B446
Tritanopia (blue-blind)
#C7AA9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab63e;
/* rgb */ color: rgb(186, 182, 62);
/* oklch */ color: oklch(75.7% 0.139 107.4);
Tailwind
colors: {
  custom: {
    50: '#d2cb7a',
    500: '#bab63e',
    950: '#000000',
  },
}
SCSS
$custom: #bab63e;
$custom-light: #d2cb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab63e",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 62
  },
  "hsl": {
    "h": 58.065,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75747,
    "c": 0.13885,
    "h": 107.4
  },
  "luminance": 0.44243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB63E

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

Preview Lab → · Contrast checker → · Palette generator →

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