#BAB243#BAB243

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

Color values

HEX#BAB243
RGBrgb(186, 178, 67)
HSLhsl(56, 47%, 50%)
HSVhsv(56, 64%, 73%)
CMYKcmyk(0%, 4.3%, 64%, 27.1%)
CIE-LABlab(71.34, -10.78, 55.81)
CIE-LCHlch(71.34, 56.84, 100.94°)
OKLaboklab(74.92% -0.0344 0.1266)
OKLCHoklch(74.92% 0.131 105.2)
XYZxyz(37.1846, 42.6865, 11.5897)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB243 #434BBA
analogous
#BA7643 #BAB243 #87BA43
triadic
#BAB243 #43BAB2 #B243BA
tetradic
#BAB243 #43BA76 #434BBA #BA4387
square
#BAB243 #43BA76 #434BBA #BA4387
split-complementary
#BAB243 #4387BA #7643BA
monochromatic
#605C23 #8D8733 #BAB243 #CBC56F #DBD79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB243#FFFFFF#000000##000000
##BAB2431.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)
#C1AC35
Deuteranopia (green-blind)
#C4B14A
Tritanopia (blue-blind)
#C7A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab243;
/* rgb */ color: rgb(186, 178, 67);
/* oklch */ color: oklch(74.9% 0.131 105.2);
Tailwind
colors: {
  custom: {
    50: '#d2c87c',
    500: '#bab243',
    950: '#000000',
  },
}
SCSS
$custom: #bab243;
$custom-light: #d2c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#bab243",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 55.966,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74923,
    "c": 0.13118,
    "h": 105.2
  },
  "luminance": 0.42685
}

Semantic roles & 50–950 ramp

primary
#BAB243
secondary
#9195C8
accent
#5AD751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB243

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

Preview Lab → · Contrast checker → · Palette generator →

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