#BAA862#BAA862

#BAA862 is a light, moderate yellow. Relative luminance 0.393; OKLCH L 73.2% C 0.093 H 95.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#BAA862
RGBrgb(186, 168, 98)
HSLhsl(48, 39%, 56%)
HSVhsv(48, 47%, 73%)
CMYKcmyk(0%, 9.7%, 47.3%, 27.1%)
CIE-LABlab(68.99, -3.04, 38.37)
CIE-LCHlch(68.99, 38.49, 94.52°)
OKLaboklab(73.16% -0.0087 0.0923)
OKLCHoklch(73.16% 0.093 95.4)
XYZxyz(36.4580, 39.3276, 17.2235)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA862 #6274BA
analogous
#BA7C62 #BAA862 #A0BA62
triadic
#BAA862 #62BAA8 #A862BA
tetradic
#BAA862 #62BA7C #6274BA #BA62A0
square
#BAA862 #62BA7C #6274BA #BA62A0
split-complementary
#BAA862 #62A0BA #7C62BA
monochromatic
#706331 #9B8944 #BAA862 #CDC08D #DFD7B7

Accessibility & contrast

On white

2.37
#BAA862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#BAA862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA862
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA862#FFFFFF#000000##000000
##BAA8621.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A55C
Deuteranopia (green-blind)
#BAAB65
Tritanopia (blue-blind)
#C69E97
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa862;
/* rgb */ color: rgb(186, 168, 98);
/* oklch */ color: oklch(73.2% 0.093 95.4);
Tailwind
colors: {
  custom: {
    50: '#d0c190',
    500: '#baa862',
    950: '#000000',
  },
}
SCSS
$custom: #baa862;
$custom-light: #d0c190;
$custom-dark: #000000;
JSON
{
  "hex": "#baa862",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 98
  },
  "hsl": {
    "h": 47.727,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.73164,
    "c": 0.09269,
    "h": 95.4
  },
  "luminance": 0.39326
}

Semantic roles & 50–950 ramp

primary
#BAA862
secondary
#AAB1CE
accent
#71CF59
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BAA862

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

Preview Lab → · Contrast checker → · Palette generator →

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