#BAB43F#BAB43F

#BAB43F is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.3% C 0.136 H 106.4°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#BAB43F
RGBrgb(186, 180, 63)
HSLhsl(57, 49%, 49%)
HSVhsv(57, 66%, 73%)
CMYKcmyk(0%, 3.2%, 66.1%, 27.1%)
CIE-LABlab(71.85, -12.06, 58.01)
CIE-LCHlch(71.85, 59.25, 101.74°)
OKLaboklab(75.32% -0.0384 0.1306)
OKLCHoklch(75.32% 0.136 106.4)
XYZxyz(37.4695, 43.4418, 11.1130)
Luminance0.4344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB43F #3F45BA
analogous
#BA773F #BAB43F #83BA3F
triadic
#BAB43F #3FBAB4 #B43FBA
tetradic
#BAB43F #3FBA77 #3F45BA #BA3F83
square
#BAB43F #3FBA77 #3F45BA #BA3F83
split-complementary
#BAB43F #3F83BA #773FBA
monochromatic
#5F5C20 #8C8830 #BAB43F #CCC86A #DCD997

Accessibility & contrast

On white

2.17
#BAB43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#BAB43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB43F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB43F#FFFFFF#000000##000000
##BAB43F1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2F
Deuteranopia (green-blind)
#C6B246
Tritanopia (blue-blind)
#C7A89C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bab43f;
/* rgb */ color: rgb(186, 180, 63);
/* oklch */ color: oklch(75.3% 0.136 106.4);
Tailwind
colors: {
  custom: {
    50: '#d2ca7a',
    500: '#bab43f',
    950: '#000000',
  },
}
SCSS
$custom: #bab43f;
$custom-light: #d2ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab43f",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 63
  },
  "hsl": {
    "h": 57.073,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75321,
    "c": 0.13615,
    "h": 106.4
  },
  "luminance": 0.43441
}

Semantic roles & 50–950 ramp

primary
#BAB43F
secondary
#8D90C8
accent
#56D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB43F

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

Preview Lab → · Contrast checker → · Palette generator →

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