#BABA7E#BABA7E

#BABA7E is a light, moderate yellow. Relative luminance 0.471; OKLCH L 77.5% C 0.080 H 108.1°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#BABA7E
RGBrgb(186, 186, 126)
HSLhsl(60, 30%, 61%)
HSVhsv(60, 32%, 73%)
CMYKcmyk(0%, 0%, 32.3%, 27.1%)
CIE-LABlab(74.23, -9.38, 30.50)
CIE-LCHlch(74.23, 31.91, 107.09°)
OKLaboklab(77.46% -0.0248 0.0757)
OKLCHoklch(77.46% 0.08 108.1)
XYZxyz(41.5748, 47.0640, 26.6288)
Luminance0.4706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BABA7E #7E7EBA
analogous
#BA9C7E #BABA7E #9CBA7E
triadic
#BABA7E #7EBABA #BA7EBA
tetradic
#BABA7E #7EBA9C #7E7EBA #BA7E9C
square
#BABA7E #7EBA9C #7E7EBA #BA7E9C
split-complementary
#BABA7E #7E9CBA #9C7EBA
monochromatic
#7C7C42 #A3A357 #BABA7E #CFCFA6 #E5E5CE

Accessibility & contrast

On white

2.02
#BABA7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#BABA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BABA7E
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BABA7E#FFFFFF#000000##000000
##BABA7E1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B57A
Deuteranopia (green-blind)
#C5B880
Tritanopia (blue-blind)
#C2B3AB
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #baba7e;
/* rgb */ color: rgb(186, 186, 126);
/* oklch */ color: oklch(77.5% 0.080 108.1);
Tailwind
colors: {
  custom: {
    50: '#cfcea4',
    500: '#baba7e',
    950: '#000000',
  },
}
SCSS
$custom: #baba7e;
$custom-light: #cfcea4;
$custom-dark: #000000;
JSON
{
  "hex": "#baba7e",
  "rgb": {
    "r": 186,
    "g": 186,
    "b": 126
  },
  "hsl": {
    "h": 60,
    "s": 30.303,
    "l": 61.176
  },
  "oklch": {
    "l": 0.77455,
    "c": 0.07961,
    "h": 108.1
  },
  "luminance": 0.47063
}

Semantic roles & 50–950 ramp

primary
#BABA7E
secondary
#BFBFD5
accent
#3DA93D
background
#FCFCFA
surface
#F9F9F4
border
#D2D2CE
text
#14130F
muted
#82827F

Preview Lab

Preview with #BABA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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