#BAB03F#BAB03F

#BAB03F is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.5% C 0.132 H 104.2°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#BAB03F
RGBrgb(186, 176, 63)
HSLhsl(55, 49%, 49%)
HSVhsv(55, 66%, 73%)
CMYKcmyk(0%, 5.4%, 66.1%, 27.1%)
CIE-LABlab(70.77, -9.99, 56.88)
CIE-LCHlch(70.77, 57.75, 99.96°)
OKLaboklab(74.46% -0.0326 0.1283)
OKLCHoklch(74.46% 0.132 104.2)
XYZxyz(36.6737, 41.8500, 10.8477)
Luminance0.4185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB03F #3F49BA
analogous
#BA733F #BAB03F #87BA3F
triadic
#BAB03F #3FBAB0 #B03FBA
tetradic
#BAB03F #3FBA73 #3F49BA #BA3F87
square
#BAB03F #3FBA73 #3F49BA #BA3F87
split-complementary
#BAB03F #3F87BA #733FBA
monochromatic
#5F5920 #8C8530 #BAB03F #CCC46A #DCD697

Accessibility & contrast

On white

2.24
#BAB03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#BAB03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB03F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB03F#FFFFFF#000000##000000
##BAB03F1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA30
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#C7A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bab03f;
/* rgb */ color: rgb(186, 176, 63);
/* oklch */ color: oklch(74.5% 0.132 104.2);
Tailwind
colors: {
  custom: {
    50: '#d2c77a',
    500: '#bab03f',
    950: '#000000',
  },
}
SCSS
$custom: #bab03f;
$custom-light: #d2c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab03f",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 63
  },
  "hsl": {
    "h": 55.122,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74456,
    "c": 0.13232,
    "h": 104.2
  },
  "luminance": 0.41849
}

Semantic roles & 50–950 ramp

primary
#BAB03F
secondary
#8D92C8
accent
#5AD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB03F

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

Preview Lab → · Contrast checker → · Palette generator →

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