#BABA74#BABA74

#BABA74 is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.3% C 0.091 H 108.4°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#BABA74
RGBrgb(186, 186, 116)
HSLhsl(60, 34%, 59%)
HSVhsv(60, 38%, 73%)
CMYKcmyk(0%, 0%, 37.6%, 27.1%)
CIE-LABlab(74.07, -10.58, 35.50)
CIE-LCHlch(74.07, 37.05, 106.59°)
OKLaboklab(77.28% -0.0288 0.0868)
OKLCHoklch(77.28% 0.092 108.4)
XYZxyz(40.9615, 46.8187, 23.3987)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA74 #7474BA
analogous
#BA9774 #BABA74 #97BA74
triadic
#BABA74 #74BABA #BA74BA
tetradic
#BABA74 #74BA97 #7474BA #BA7497
square
#BABA74 #74BA97 #7474BA #BA7497
split-complementary
#BABA74 #7497BA #9774BA
monochromatic
#78783C #A1A150 #BABA74 #CECE9D #E3E3C6

Accessibility & contrast

On white

2.03
#BABA74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#BABA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA74
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA74#FFFFFF#000000##000000
##BABA741.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B56F
Deuteranopia (green-blind)
#C6B777
Tritanopia (blue-blind)
#C3B2A9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #baba74;
/* rgb */ color: rgb(186, 186, 116);
/* oklch */ color: oklch(77.3% 0.091 108.4);
Tailwind
colors: {
  custom: {
    50: '#d0ce9d',
    500: '#baba74',
    950: '#000000',
  },
}
SCSS
$custom: #baba74;
$custom-light: #d0ce9d;
$custom-dark: #000000;
JSON
{
  "hex": "#baba74",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 116
  },
  "hsl": {
    "h": 60,
    "s": 33.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77279,
    "c": 0.0915,
    "h": 108.4
  },
  "luminance": 0.46818
}

Semantic roles & 50–950 ramp

primary
#BABA74
secondary
#B7B7D3
accent
#5ECA5E
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #BABA74

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

Preview Lab → · Contrast checker → · Palette generator →

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