#BAB73C#BAB73C

#BAB73C is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.141 H 108.0°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#BAB73C
RGBrgb(186, 183, 60)
HSLhsl(59, 51%, 48%)
HSVhsv(59, 68%, 73%)
CMYKcmyk(0%, 1.6%, 67.7%, 27.1%)
CIE-LABlab(72.65, -13.77, 60.02)
CIE-LCHlch(72.65, 61.57, 102.92°)
OKLaboklab(75.95% -0.0436 0.1344)
OKLCHoklch(75.95% 0.141 108)
XYZxyz(38.0002, 44.6335, 10.8875)
Luminance0.4463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB73C #3C3FBA
analogous
#BA783C #BAB73C #7EBA3C
triadic
#BAB73C #3CBAB7 #B73CBA
tetradic
#BAB73C #3CBA78 #3C3FBA #BA3C7E
square
#BAB73C #3CBA78 #3C3FBA #BA3C7E
split-complementary
#BAB73C #3C7EBA #783CBA
monochromatic
#5D5C1E #8C892D #BAB73C #CECB66 #DCDB94

Accessibility & contrast

On white

2.12
#BAB73C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#BAB73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB73C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB73C#FFFFFF#000000##000000
##BAB73C1.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02A
Deuteranopia (green-blind)
#C8B444
Tritanopia (blue-blind)
#C7AB9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #bab73c;
/* rgb */ color: rgb(186, 183, 60);
/* oklch */ color: oklch(75.9% 0.141 108.0);
Tailwind
colors: {
  custom: {
    50: '#d2cc79',
    500: '#bab73c',
    950: '#000000',
  },
}
SCSS
$custom: #bab73c;
$custom-light: #d2cc79;
$custom-dark: #000000;
JSON
{
  "hex": "#bab73c",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 60
  },
  "hsl": {
    "h": 58.571,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.75949,
    "c": 0.14125,
    "h": 108
  },
  "luminance": 0.44632
}

Semantic roles & 50–950 ramp

primary
#BAB73C
secondary
#8A8BC8
accent
#50DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB73C

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

Preview Lab → · Contrast checker → · Palette generator →

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