#BAB92F#BAB92F

#BAB92F is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.3% C 0.151 H 109.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#BAB92F
RGBrgb(186, 185, 47)
HSLhsl(60, 60%, 46%)
HSVhsv(60, 75%, 73%)
CMYKcmyk(0%, 0.5%, 74.7%, 27.1%)
CIE-LABlab(73.12, -15.42, 65.15)
CIE-LCHlch(73.12, 66.95, 103.31°)
OKLaboklab(76.3% -0.0494 0.1429)
OKLCHoklch(76.3% 0.151 109.1)
XYZxyz(38.1132, 45.3435, 9.4333)
Luminance0.4534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB92F #2F30BA
analogous
#BA732F #BAB92F #76BA2F
triadic
#BAB92F #2FBAB9 #B92FBA
tetradic
#BAB92F #2FBA73 #2F30BA #BA2F76
square
#BAB92F #2FBA73 #2F30BA #BA2F76
split-complementary
#BAB92F #2F76BA #732FBA
monochromatic
#585816 #898823 #BAB92F #D3D353 #E0DF84

Accessibility & contrast

On white

2.09
#BAB92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#BAB92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB92F
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB92F#FFFFFF#000000##000000
##BAB92F1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B10F
Deuteranopia (green-blind)
#CAB63A
Tritanopia (blue-blind)
#C7AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab92f;
/* rgb */ color: rgb(186, 185, 47);
/* oklch */ color: oklch(76.3% 0.151 109.1);
Tailwind
colors: {
  custom: {
    50: '#d2cd72',
    500: '#bab92f',
    950: '#000000',
  },
}
SCSS
$custom: #bab92f;
$custom-light: #d2cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#bab92f",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 59.568,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76296,
    "c": 0.15124,
    "h": 109.1
  },
  "luminance": 0.45342
}

Semantic roles & 50–950 ramp

primary
#BAB92F
secondary
#7C7CC9
accent
#46E345
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB92F

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

Preview Lab → · Contrast checker → · Palette generator →

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