#BAB34F#BAB34F

#BAB34F is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.3% C 0.122 H 105.3°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#BAB34F
RGBrgb(186, 179, 79)
HSLhsl(56, 44%, 52%)
HSVhsv(56, 58%, 73%)
CMYKcmyk(0%, 3.8%, 57.5%, 27.1%)
CIE-LABlab(71.72, -10.47, 50.90)
CIE-LCHlch(71.72, 51.96, 101.62°)
OKLaboklab(75.26% -0.0321 0.1178)
OKLCHoklch(75.26% 0.122 105.3)
XYZxyz(37.7823, 43.2450, 13.7525)
Luminance0.4324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB34F #4F56BA
analogous
#BA7E4F #BAB34F #8CBA4F
triadic
#BAB34F #4FBAB3 #B34FBA
tetradic
#BAB34F #4FBA7E #4F56BA #BA4F8C
square
#BAB34F #4FBA7E #4F56BA #BA4F8C
split-complementary
#BAB34F #4F8CBA #7E4FBA
monochromatic
#666228 #928D39 #BAB34F #CBC67B #DCD9A7

Accessibility & contrast

On white

2.18
#BAB34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#BAB34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB34F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB34F#FFFFFF#000000##000000
##BAB34F1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD45
Deuteranopia (green-blind)
#C4B254
Tritanopia (blue-blind)
#C7A89D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab34f;
/* rgb */ color: rgb(186, 179, 79);
/* oklch */ color: oklch(75.3% 0.122 105.3);
Tailwind
colors: {
  custom: {
    50: '#d1c984',
    500: '#bab34f',
    950: '#000000',
  },
}
SCSS
$custom: #bab34f;
$custom-light: #d1c984;
$custom-dark: #000000;
JSON
{
  "hex": "#bab34f",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 56.075,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7526,
    "c": 0.12211,
    "h": 105.3
  },
  "luminance": 0.43244
}

Semantic roles & 50–950 ramp

primary
#BAB34F
secondary
#9B9ECA
accent
#5DD354
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB34F

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

Preview Lab → · Contrast checker → · Palette generator →

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