#BAB33E#BAB33E

#BAB33E is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.136 H 105.9°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#BAB33E
RGBrgb(186, 179, 62)
HSLhsl(57, 50%, 49%)
HSVhsv(57, 67%, 73%)
CMYKcmyk(0%, 3.8%, 66.7%, 27.1%)
CIE-LABlab(71.57, -11.60, 58.12)
CIE-LCHlch(71.57, 59.27, 101.29°)
OKLaboklab(75.1% -0.0372 0.1307)
OKLCHoklch(75.1% 0.136 105.9)
XYZxyz(37.2407, 43.0284, 10.9001)
Luminance0.4303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB33E #3E45BA
analogous
#BA753E #BAB33E #83BA3E
triadic
#BAB33E #3EBAB3 #B33EBA
tetradic
#BAB33E #3EBA75 #3E45BA #BA3E83
square
#BAB33E #3EBA75 #3E45BA #BA3E83
split-complementary
#BAB33E #3E83BA #753EBA
monochromatic
#5E5B1F #8C872F #BAB33E #CDC768 #DCD896

Accessibility & contrast

On white

2.19
#BAB33E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#BAB33E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB33E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB33E#FFFFFF#000000##000000
##BAB33E1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD2E
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#C7A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab33e;
/* rgb */ color: rgb(186, 179, 62);
/* oklch */ color: oklch(75.1% 0.136 105.9);
Tailwind
colors: {
  custom: {
    50: '#d2c97a',
    500: '#bab33e',
    950: '#000000',
  },
}
SCSS
$custom: #bab33e;
$custom-light: #d2c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab33e",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 62
  },
  "hsl": {
    "h": 56.613,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75096,
    "c": 0.13591,
    "h": 105.9
  },
  "luminance": 0.43027
}

Semantic roles & 50–950 ramp

primary
#BAB33E
secondary
#8C8FC8
accent
#56DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB33E

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

Preview Lab → · Contrast checker → · Palette generator →

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