#BAB14F#BAB14F

#BAB14F is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.8% C 0.120 H 104.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#BAB14F
RGBrgb(186, 177, 79)
HSLhsl(55, 44%, 52%)
HSVhsv(55, 58%, 73%)
CMYKcmyk(0%, 4.8%, 57.5%, 27.1%)
CIE-LABlab(71.18, -9.43, 50.29)
CIE-LCHlch(71.18, 51.16, 100.62°)
OKLaboklab(74.83% -0.0292 0.1165)
OKLCHoklch(74.83% 0.12 104.1)
XYZxyz(37.3844, 42.4492, 13.6199)
Luminance0.4245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB14F #4F58BA
analogous
#BA7C4F #BAB14F #8EBA4F
triadic
#BAB14F #4FBAB1 #B14FBA
tetradic
#BAB14F #4FBA7C #4F58BA #BA4F8E
square
#BAB14F #4FBA7C #4F58BA #BA4F8E
split-complementary
#BAB14F #4F8EBA #7C4FBA
monochromatic
#666128 #928B39 #BAB14F #CBC47B #DCD8A7

Accessibility & contrast

On white

2.21
#BAB14F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#BAB14F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB14F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB14F#FFFFFF#000000##000000
##BAB14F1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB45
Deuteranopia (green-blind)
#C2B154
Tritanopia (blue-blind)
#C7A69B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab14f;
/* rgb */ color: rgb(186, 177, 79);
/* oklch */ color: oklch(74.8% 0.120 104.1);
Tailwind
colors: {
  custom: {
    50: '#d1c884',
    500: '#bab14f',
    950: '#000000',
  },
}
SCSS
$custom: #bab14f;
$custom-light: #d1c884;
$custom-dark: #000000;
JSON
{
  "hex": "#bab14f",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 79
  },
  "hsl": {
    "h": 54.953,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74829,
    "c": 0.12011,
    "h": 104.1
  },
  "luminance": 0.42448
}

Semantic roles & 50–950 ramp

primary
#BAB14F
secondary
#9B9FCA
accent
#5FD354
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB14F

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

Preview Lab → · Contrast checker → · Palette generator →

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