#BAB244#BAB244

#BAB244 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.9% C 0.130 H 105.2°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#BAB244
RGBrgb(186, 178, 68)
HSLhsl(56, 46%, 50%)
HSVhsv(56, 63%, 73%)
CMYKcmyk(0%, 4.3%, 63.4%, 27.1%)
CIE-LABlab(71.35, -10.72, 55.39)
CIE-LCHlch(71.35, 56.41, 100.95°)
OKLaboklab(74.93% -0.0341 0.1259)
OKLCHoklch(74.93% 0.13 105.2)
XYZxyz(37.2148, 42.6986, 11.7491)
Luminance0.4270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB244 #444CBA
analogous
#BA7744 #BAB244 #87BA44
triadic
#BAB244 #44BAB2 #B244BA
tetradic
#BAB244 #44BA77 #444CBA #BA4487
square
#BAB244 #44BA77 #444CBA #BA4487
split-complementary
#BAB244 #4487BA #7744BA
monochromatic
#605C23 #8D8734 #BAB244 #CBC570 #DBD79D

Accessibility & contrast

On white

2.20
#BAB244 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#BAB244 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB244
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB244#FFFFFF#000000##000000
##BAB2441.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC36
Deuteranopia (green-blind)
#C4B14A
Tritanopia (blue-blind)
#C7A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab244;
/* rgb */ color: rgb(186, 178, 68);
/* oklch */ color: oklch(74.9% 0.130 105.2);
Tailwind
colors: {
  custom: {
    50: '#d2c87d',
    500: '#bab244',
    950: '#000000',
  },
}
SCSS
$custom: #bab244;
$custom-light: #d2c87d;
$custom-dark: #000000;
JSON
{
  "hex": "#bab244",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 68
  },
  "hsl": {
    "h": 55.932,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74933,
    "c": 0.13039,
    "h": 105.2
  },
  "luminance": 0.42697
}

Semantic roles & 50–950 ramp

primary
#BAB244
secondary
#9296C8
accent
#5BD652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB244

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

Preview Lab → · Contrast checker → · Palette generator →

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