#BABA3E#BABA3E

#BABA3E is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.6% C 0.143 H 109.3°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#BABA3E
RGBrgb(186, 186, 62)
HSLhsl(60, 50%, 49%)
HSVhsv(60, 67%, 73%)
CMYKcmyk(0%, 0%, 66.7%, 27.1%)
CIE-LABlab(73.48, -15.18, 60.08)
CIE-LCHlch(73.48, 61.96, 104.18°)
OKLaboklab(76.62% -0.0473 0.1348)
OKLCHoklch(76.62% 0.143 109.3)
XYZxyz(38.6794, 45.9058, 11.3797)
Luminance0.4591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA3E #3E3EBA
analogous
#BA7C3E #BABA3E #7CBA3E
triadic
#BABA3E #3EBABA #BA3EBA
tetradic
#BABA3E #3EBA7C #3E3EBA #BA3E7C
square
#BABA3E #3EBA7C #3E3EBA #BA3E7C
split-complementary
#BABA3E #3E7CBA #7C3EBA
monochromatic
#5E5E1F #8C8C2F #BABA3E #CDCD68 #DCDC96

Accessibility & contrast

On white

2.06
#BABA3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#BABA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA3E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA3E#FFFFFF#000000##000000
##BABA3E1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B22C
Deuteranopia (green-blind)
#CAB646
Tritanopia (blue-blind)
#C7AEA1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #baba3e;
/* rgb */ color: rgb(186, 186, 62);
/* oklch */ color: oklch(76.6% 0.143 109.3);
Tailwind
colors: {
  custom: {
    50: '#d2ce7a',
    500: '#baba3e',
    950: '#000000',
  },
}
SCSS
$custom: #baba3e;
$custom-light: #d2ce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#baba3e",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 62
  },
  "hsl": {
    "h": 60,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76619,
    "c": 0.14289,
    "h": 109.3
  },
  "luminance": 0.45905
}

Semantic roles & 50–950 ramp

primary
#BABA3E
secondary
#8C8CC8
accent
#4EDA4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BABA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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