#BAB83F#BAB83F

#BAB83F is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.2% C 0.140 H 108.4°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#BAB83F
RGBrgb(186, 184, 63)
HSLhsl(59, 49%, 49%)
HSVhsv(59, 66%, 73%)
CMYKcmyk(0%, 1.1%, 66.1%, 27.1%)
CIE-LABlab(72.94, -14.11, 59.13)
CIE-LCHlch(72.94, 60.79, 103.42°)
OKLaboklab(76.19% -0.0442 0.133)
OKLCHoklch(76.19% 0.14 108.4)
XYZxyz(38.2887, 45.0801, 11.3861)
Luminance0.4508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB83F #3F41BA
analogous
#BA7B3F #BAB83F #7FBA3F
triadic
#BAB83F #3FBAB8 #B83FBA
tetradic
#BAB83F #3FBA7B #3F41BA #BA3F7F
square
#BAB83F #3FBA7B #3F41BA #BA3F7F
split-complementary
#BAB83F #3F7FBA #7B3FBA
monochromatic
#5F5E20 #8C8B30 #BAB83F #CCCB6A #DCDB97

Accessibility & contrast

On white

2.10
#BAB83F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.02
#BAB83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB83F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB83F#FFFFFF#000000##000000
##BAB83F1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12E
Deuteranopia (green-blind)
#C9B547
Tritanopia (blue-blind)
#C7AC9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab83f;
/* rgb */ color: rgb(186, 184, 63);
/* oklch */ color: oklch(76.2% 0.140 108.4);
Tailwind
colors: {
  custom: {
    50: '#d2cd7b',
    500: '#bab83f',
    950: '#000000',
  },
}
SCSS
$custom: #bab83f;
$custom-light: #d2cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bab83f",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 63
  },
  "hsl": {
    "h": 59.024,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76191,
    "c": 0.14014,
    "h": 108.4
  },
  "luminance": 0.45079
}

Semantic roles & 50–950 ramp

primary
#BAB83F
secondary
#8D8EC8
accent
#51D94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB83F

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

Preview Lab → · Contrast checker → · Palette generator →

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