#BAB93E#BAB93E

#BAB93E is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.4% C 0.142 H 108.9°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#BAB93E
RGBrgb(186, 185, 62)
HSLhsl(60, 50%, 49%)
HSVhsv(60, 67%, 73%)
CMYKcmyk(0%, 0.5%, 66.7%, 27.1%)
CIE-LABlab(73.21, -14.68, 59.80)
CIE-LCHlch(73.21, 61.57, 103.79°)
OKLaboklab(76.4% -0.0459 0.1342)
OKLCHoklch(76.4% 0.142 108.9)
XYZxyz(38.4695, 45.4860, 11.3097)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB93E #3E3FBA
analogous
#BA7B3E #BAB93E #7DBA3E
triadic
#BAB93E #3EBAB9 #B93EBA
tetradic
#BAB93E #3EBA7B #3E3FBA #BA3E7D
square
#BAB93E #3EBA7B #3E3FBA #BA3E7D
split-complementary
#BAB93E #3E7DBA #7B3EBA
monochromatic
#5E5E1F #8C8B2F #BAB93E #CDCC68 #DCDC96

Accessibility & contrast

On white

2.08
#BAB93E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#BAB93E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB93E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB93E#FFFFFF#000000##000000
##BAB93E1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22C
Deuteranopia (green-blind)
#C9B646
Tritanopia (blue-blind)
#C7ADA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bab93e;
/* rgb */ color: rgb(186, 185, 62);
/* oklch */ color: oklch(76.4% 0.142 108.9);
Tailwind
colors: {
  custom: {
    50: '#d2cd7a',
    500: '#bab93e',
    950: '#000000',
  },
}
SCSS
$custom: #bab93e;
$custom-light: #d2cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab93e",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 62
  },
  "hsl": {
    "h": 59.516,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76401,
    "c": 0.14187,
    "h": 108.9
  },
  "luminance": 0.45485
}

Semantic roles & 50–950 ramp

primary
#BAB93E
secondary
#8C8DC8
accent
#4FDA4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB93E

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

Preview Lab → · Contrast checker → · Palette generator →

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