#BAB254#BAB254

#BAB254 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.116 H 104.4°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#BAB254
RGBrgb(186, 178, 84)
HSLhsl(55, 43%, 53%)
HSVhsv(55, 55%, 73%)
CMYKcmyk(0%, 4.3%, 54.8%, 27.1%)
CIE-LABlab(71.50, -9.56, 48.31)
CIE-LCHlch(71.50, 49.25, 101.19°)
OKLaboklab(75.1% -0.029 0.1128)
OKLCHoklch(75.1% 0.116 104.4)
XYZxyz(37.7715, 42.9212, 14.6808)
Luminance0.4292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB254 #545CBA
analogous
#BA7F54 #BAB254 #8FBA54
triadic
#BAB254 #54BAB2 #B254BA
tetradic
#BAB254 #54BA7F #545CBA #BA548F
square
#BAB254 #54BA7F #545CBA #BA548F
split-complementary
#BAB254 #548FBA #7F54BA
monochromatic
#69642A #958E3C #BAB254 #CCC680 #DDD9AB

Accessibility & contrast

On white

2.19
#BAB254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#BAB254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB254
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB254#FFFFFF#000000##000000
##BAB2541.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC4B
Deuteranopia (green-blind)
#C3B159
Tritanopia (blue-blind)
#C6A79D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab254;
/* rgb */ color: rgb(186, 178, 84);
/* oklch */ color: oklch(75.1% 0.116 104.4);
Tailwind
colors: {
  custom: {
    50: '#d1c887',
    500: '#bab254',
    950: '#000000',
  },
}
SCSS
$custom: #bab254;
$custom-light: #d1c887;
$custom-dark: #000000;
JSON
{
  "hex": "#bab254",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 84
  },
  "hsl": {
    "h": 55.294,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75102,
    "c": 0.11649,
    "h": 104.4
  },
  "luminance": 0.4292
}

Semantic roles & 50–950 ramp

primary
#BAB254
secondary
#9FA2CB
accent
#5FD256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB254

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

Preview Lab → · Contrast checker → · Palette generator →

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