#BA982E#BA982E

#BA982E is a light, vivid yellow. Relative luminance 0.331; OKLCH L 69.2% C 0.126 H 90.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#BA982E
RGBrgb(186, 152, 46)
HSLhsl(45, 60%, 45%)
HSVhsv(45, 75%, 73%)
CMYKcmyk(0%, 18.3%, 75.3%, 27.1%)
CIE-LABlab(64.24, 1.89, 57.14)
CIE-LCHlch(64.24, 57.17, 88.11°)
OKLaboklab(69.25% -0.0006 0.1257)
OKLCHoklch(69.25% 0.126 90.3)
XYZxyz(31.9729, 33.0948, 7.2881)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA982E #2E50BA
analogous
#BA522E #BA982E #96BA2E
triadic
#BA982E #2EBA98 #982EBA
tetradic
#BA982E #2EBA52 #2E50BA #BA2E96
square
#BA982E #2EBA52 #2E50BA #BA2E96
split-complementary
#BA982E #2E96BA #522EBA
monochromatic
#584816 #897022 #BA982E #D4B451 #E0C982

Accessibility & contrast

On white

2.76
#BA982E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#BA982E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA982E
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA982E#FFFFFF#000000##000000
##BA982E1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961C
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#CA8B83
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba982e;
/* rgb */ color: rgb(186, 152, 46);
/* oklch */ color: oklch(69.2% 0.126 90.3);
Tailwind
colors: {
  custom: {
    50: '#d3b66e',
    500: '#ba982e',
    950: '#000000',
  },
}
SCSS
$custom: #ba982e;
$custom-light: #d3b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba982e",
  "rgb": {
    "r": 186,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 45.429,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69246,
    "c": 0.1257,
    "h": 90.3
  },
  "luminance": 0.33093
}

Semantic roles & 50–950 ramp

primary
#BA982E
secondary
#7B8EC9
accent
#6BE344
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BA982E

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

Preview Lab → · Contrast checker → · Palette generator →

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