#BAB74E#BAB74E

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

Color values

HEX#BAB74E
RGBrgb(186, 183, 78)
HSLhsl(58, 44%, 52%)
HSVhsv(58, 58%, 73%)
CMYKcmyk(0%, 1.6%, 58.1%, 27.1%)
CIE-LABlab(72.80, -12.61, 52.56)
CIE-LCHlch(72.80, 54.05, 103.49°)
OKLaboklab(76.11% -0.0383 0.1212)
OKLCHoklch(76.11% 0.127 107.5)
XYZxyz(38.5595, 44.8573, 13.8334)
Luminance0.4486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB74E #4E51BA
analogous
#BA814E #BAB74E #87BA4E
triadic
#BAB74E #4EBAB7 #B74EBA
tetradic
#BAB74E #4EBA81 #4E51BA #BA4E87
square
#BAB74E #4EBA81 #4E51BA #BA4E87
split-complementary
#BAB74E #4E87BA #814EBA
monochromatic
#666428 #928F39 #BAB74E #CBC97A #DCDBA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB74E#FFFFFF#000000##000000
##BAB74E1.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)
#C5B043
Deuteranopia (green-blind)
#C7B554
Tritanopia (blue-blind)
#C6ACA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab74e;
/* rgb */ color: rgb(186, 183, 78);
/* oklch */ color: oklch(76.1% 0.127 107.5);
Tailwind
colors: {
  custom: {
    50: '#d1cc83',
    500: '#bab74e',
    950: '#000000',
  },
}
SCSS
$custom: #bab74e;
$custom-light: #d1cc83;
$custom-dark: #000000;
JSON
{
  "hex": "#bab74e",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 58.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76114,
    "c": 0.12715,
    "h": 107.5
  },
  "luminance": 0.44856
}

Semantic roles & 50–950 ramp

primary
#BAB74E
secondary
#9A9CCA
accent
#58D454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB74E

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

Preview Lab → · Contrast checker → · Palette generator →

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