#BAB43E#BAB43E

#BAB43E is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.137 H 106.4°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#BAB43E
RGBrgb(186, 180, 62)
HSLhsl(57, 50%, 49%)
HSVhsv(57, 67%, 73%)
CMYKcmyk(0%, 3.2%, 66.7%, 27.1%)
CIE-LABlab(71.85, -12.12, 58.40)
CIE-LCHlch(71.85, 59.65, 101.72°)
OKLaboklab(75.31% -0.0387 0.1313)
OKLCHoklch(75.31% 0.137 106.4)
XYZxyz(37.4418, 43.4307, 10.9672)
Luminance0.4343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB43E #3E44BA
analogous
#BA763E #BAB43E #82BA3E
triadic
#BAB43E #3EBAB4 #B43EBA
tetradic
#BAB43E #3EBA76 #3E44BA #BA3E82
square
#BAB43E #3EBA76 #3E44BA #BA3E82
split-complementary
#BAB43E #3E82BA #763EBA
monochromatic
#5E5B1F #8C882F #BAB43E #CDC868 #DCD996

Accessibility & contrast

On white

2.17
#BAB43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#BAB43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB43E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB43E#FFFFFF#000000##000000
##BAB43E1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2E
Deuteranopia (green-blind)
#C6B246
Tritanopia (blue-blind)
#C7A89C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab43e;
/* rgb */ color: rgb(186, 180, 62);
/* oklch */ color: oklch(75.3% 0.137 106.4);
Tailwind
colors: {
  custom: {
    50: '#d2ca7a',
    500: '#bab43e',
    950: '#000000',
  },
}
SCSS
$custom: #bab43e;
$custom-light: #d2ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab43e",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 62
  },
  "hsl": {
    "h": 57.097,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.75313,
    "c": 0.13688,
    "h": 106.4
  },
  "luminance": 0.43429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB43E

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

Preview Lab → · Contrast checker → · Palette generator →

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