#BABA62#BABA62

#BABA62 is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.0% C 0.111 H 108.7°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#BABA62
RGBrgb(186, 186, 98)
HSLhsl(60, 39%, 56%)
HSVhsv(60, 47%, 73%)
CMYKcmyk(0%, 0%, 47.3%, 27.1%)
CIE-LABlab(73.83, -12.46, 44.29)
CIE-LCHlch(73.83, 46.01, 105.71°)
OKLaboklab(77.01% -0.0358 0.1054)
OKLCHoklch(77.01% 0.111 108.7)
XYZxyz(40.0140, 46.4397, 18.4088)
Luminance0.4644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA62 #6262BA
analogous
#BA8E62 #BABA62 #8EBA62
triadic
#BABA62 #62BABA #BA62BA
tetradic
#BABA62 #62BA8E #6262BA #BA628E
square
#BABA62 #62BA8E #6262BA #BA628E
split-complementary
#BABA62 #628EBA #8E62BA
monochromatic
#707031 #9B9B44 #BABA62 #CDCD8D #DFDFB7

Accessibility & contrast

On white

2.04
#BABA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#BABA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA62
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA62#FFFFFF#000000##000000
##BABA621.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B45A
Deuteranopia (green-blind)
#C8B766
Tritanopia (blue-blind)
#C5B0A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baba62;
/* rgb */ color: rgb(186, 186, 98);
/* oklch */ color: oklch(77.0% 0.111 108.7);
Tailwind
colors: {
  custom: {
    50: '#d0ce91',
    500: '#baba62',
    950: '#000000',
  },
}
SCSS
$custom: #baba62;
$custom-light: #d0ce91;
$custom-dark: #000000;
JSON
{
  "hex": "#baba62",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 98
  },
  "hsl": {
    "h": 60,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.77006,
    "c": 0.11132,
    "h": 108.7
  },
  "luminance": 0.46439
}

Semantic roles & 50–950 ramp

primary
#BABA62
secondary
#AAAACE
accent
#59CF59
background
#FDFCF9
surface
#FAF9F1
border
#D3D2CB
text
#14130D
muted
#83827E

Preview Lab

Preview with #BABA62

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

Preview Lab → · Contrast checker → · Palette generator →

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