#BAB246#BAB246

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

Color values

HEX#BAB246
RGBrgb(186, 178, 70)
HSLhsl(56, 46%, 50%)
HSVhsv(56, 62%, 73%)
CMYKcmyk(0%, 4.3%, 62.4%, 27.1%)
CIE-LABlab(71.37, -10.59, 54.54)
CIE-LCHlch(71.37, 55.56, 100.99°)
OKLaboklab(74.95% -0.0335 0.1244)
OKLCHoklch(74.95% 0.129 105.1)
XYZxyz(37.2769, 42.7234, 12.0760)
Luminance0.4272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB246 #464EBA
analogous
#BA7846 #BAB246 #88BA46
triadic
#BAB246 #46BAB2 #B246BA
tetradic
#BAB246 #46BA78 #464EBA #BA4688
square
#BAB246 #46BA78 #464EBA #BA4688
split-complementary
#BAB246 #4688BA #7846BA
monochromatic
#615D24 #8E8835 #BAB246 #CBC573 #DBD79F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB246#FFFFFF#000000##000000
##BAB2461.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)
#C1AC39
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#C7A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab246;
/* rgb */ color: rgb(186, 178, 70);
/* oklch */ color: oklch(75.0% 0.129 105.1);
Tailwind
colors: {
  custom: {
    50: '#d2c87e',
    500: '#bab246',
    950: '#000000',
  },
}
SCSS
$custom: #bab246;
$custom-light: #d2c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#bab246",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 55.862,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74952,
    "c": 0.1288,
    "h": 105.1
  },
  "luminance": 0.42722
}

Semantic roles & 50–950 ramp

primary
#BAB246
secondary
#9498C8
accent
#5BD552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB246

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

Preview Lab → · Contrast checker → · Palette generator →

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