#BA9F4E#BA9F4E

#BA9F4E is a light, moderate yellow. Relative luminance 0.358; OKLCH L 71.0% C 0.106 H 91.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#BA9F4E
RGBrgb(186, 159, 78)
HSLhsl(45, 44%, 52%)
HSVhsv(45, 58%, 73%)
CMYKcmyk(0%, 14.5%, 58.1%, 27.1%)
CIE-LABlab(66.36, 0.03, 45.26)
CIE-LCHlch(66.36, 45.26, 89.96°)
OKLaboklab(71.01% -0.0021 0.1056)
OKLCHoklch(71.01% 0.106 91.1)
XYZxyz(34.0244, 35.7872, 12.3217)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9F4E #4E69BA
analogous
#BA694E #BA9F4E #9FBA4E
triadic
#BA9F4E #4EBA9F #9F4EBA
tetradic
#BA9F4E #4EBA69 #4E69BA #BA4E9F
square
#BA9F4E #4EBA69 #4E69BA #BA4E9F
split-complementary
#BA9F4E #4E9FBA #694EBA
monochromatic
#665628 #927C39 #BA9F4E #CBB77A #DCCFA6

Accessibility & contrast

On white

2.57
#BA9F4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#BA9F4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9F4E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9F4E#FFFFFF#000000##000000
##BA9F4E1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D46
Deuteranopia (green-blind)
#B5A551
Tritanopia (blue-blind)
#C8948D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ba9f4e;
/* rgb */ color: rgb(186, 159, 78);
/* oklch */ color: oklch(71.0% 0.106 91.1);
Tailwind
colors: {
  custom: {
    50: '#d1bb82',
    500: '#ba9f4e',
    950: '#000000',
  },
}
SCSS
$custom: #ba9f4e;
$custom-light: #d1bb82;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9f4e",
  "rgb": {
    "r": 186,
    "g": 159,
    "b": 78
  },
  "hsl": {
    "h": 45,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71007,
    "c": 0.10559,
    "h": 91.1
  },
  "luminance": 0.35785
}

Semantic roles & 50–950 ramp

primary
#BA9F4E
secondary
#9AA6CA
accent
#74D454
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14110B
muted
#83807C

Preview Lab

Preview with #BA9F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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