#BAB53E#BAB53E

#BAB53E is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.138 H 106.9°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#BAB53E
RGBrgb(186, 181, 62)
HSLhsl(58, 50%, 49%)
HSVhsv(58, 67%, 73%)
CMYKcmyk(0%, 2.7%, 66.7%, 27.1%)
CIE-LABlab(72.12, -12.63, 58.68)
CIE-LCHlch(72.12, 60.03, 102.15°)
OKLaboklab(75.53% -0.0401 0.1319)
OKLCHoklch(75.53% 0.138 106.9)
XYZxyz(37.6444, 43.8359, 11.0347)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB53E #3E43BA
analogous
#BA773E #BAB53E #81BA3E
triadic
#BAB53E #3EBAB5 #B53EBA
tetradic
#BAB53E #3EBA77 #3E43BA #BA3E81
square
#BAB53E #3EBA77 #3E43BA #BA3E81
split-complementary
#BAB53E #3E81BA #773EBA
monochromatic
#5E5C1F #8C882F #BAB53E #CDC968 #DCD996

Accessibility & contrast

On white

2.15
#BAB53E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#BAB53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB53E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB53E#FFFFFF#000000##000000
##BAB53E1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE2D
Deuteranopia (green-blind)
#C6B346
Tritanopia (blue-blind)
#C7A99D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab53e;
/* rgb */ color: rgb(186, 181, 62);
/* oklch */ color: oklch(75.5% 0.138 106.9);
Tailwind
colors: {
  custom: {
    50: '#d2ca7a',
    500: '#bab53e',
    950: '#000000',
  },
}
SCSS
$custom: #bab53e;
$custom-light: #d2ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab53e",
  "rgb": {
    "r": 186,
    "g": 181,
    "b": 62
  },
  "hsl": {
    "h": 57.581,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7553,
    "c": 0.13787,
    "h": 106.9
  },
  "luminance": 0.43835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB53E

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

Preview Lab → · Contrast checker → · Palette generator →

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