#BAB74C#BAB74C

#BAB74C is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.1% C 0.129 H 107.6°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#BAB74C
RGBrgb(186, 183, 76)
HSLhsl(58, 44%, 51%)
HSVhsv(58, 59%, 73%)
CMYKcmyk(0%, 1.6%, 59.1%, 27.1%)
CIE-LABlab(72.78, -12.75, 53.43)
CIE-LCHlch(72.78, 54.93, 103.42°)
OKLaboklab(76.09% -0.039 0.1228)
OKLCHoklch(76.09% 0.129 107.6)
XYZxyz(38.4889, 44.8290, 13.4615)
Luminance0.4483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB74C #4C4FBA
analogous
#BA804C #BAB74C #86BA4C
triadic
#BAB74C #4CBAB7 #B74CBA
tetradic
#BAB74C #4CBA80 #4C4FBA #BA4C86
square
#BAB74C #4CBA80 #4C4FBA #BA4C86
split-complementary
#BAB74C #4C86BA #804CBA
monochromatic
#656327 #918F38 #BAB74C #CBC978 #DCDBA4

Accessibility & contrast

On white

2.11
#BAB74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#BAB74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB74C
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB74C#FFFFFF#000000##000000
##BAB74C1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B040
Deuteranopia (green-blind)
#C7B552
Tritanopia (blue-blind)
#C6ACA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab74c;
/* rgb */ color: rgb(186, 183, 76);
/* oklch */ color: oklch(76.1% 0.129 107.6);
Tailwind
colors: {
  custom: {
    50: '#d1cc82',
    500: '#bab74c',
    950: '#000000',
  },
}
SCSS
$custom: #bab74c;
$custom-light: #d1cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#bab74c",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 76
  },
  "hsl": {
    "h": 58.364,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.76093,
    "c": 0.12887,
    "h": 107.6
  },
  "luminance": 0.44828
}

Semantic roles & 50–950 ramp

primary
#BAB74C
secondary
#999AC9
accent
#57D454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB74C

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

Preview Lab → · Contrast checker → · Palette generator →

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