#BA992F#BA992F

#BA992F is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.5% C 0.126 H 90.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#BA992F
RGBrgb(186, 153, 47)
HSLhsl(46, 60%, 46%)
HSVhsv(46, 75%, 73%)
CMYKcmyk(0%, 17.7%, 74.7%, 27.1%)
CIE-LABlab(64.51, 1.39, 57.01)
CIE-LCHlch(64.51, 57.03, 88.61°)
OKLaboklab(69.46% -0.0019 0.1256)
OKLCHoklch(69.46% 0.126 90.9)
XYZxyz(32.1559, 33.4288, 7.4475)
Luminance0.3343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA992F #2F50BA
analogous
#BA532F #BA992F #96BA2F
triadic
#BA992F #2FBA99 #992FBA
tetradic
#BA992F #2FBA53 #2F50BA #BA2F96
square
#BA992F #2FBA53 #2F50BA #BA2F96
split-complementary
#BA992F #2F96BA #532FBA
monochromatic
#584916 #897123 #BA992F #D3B553 #E0CA84

Accessibility & contrast

On white

2.73
#BA992F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#BA992F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA992F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA992F#FFFFFF#000000##000000
##BA992F1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971E
Deuteranopia (green-blind)
#B3A035
Tritanopia (blue-blind)
#C98C84
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba992f;
/* rgb */ color: rgb(186, 153, 47);
/* oklch */ color: oklch(69.5% 0.126 90.9);
Tailwind
colors: {
  custom: {
    50: '#d3b66f',
    500: '#ba992f',
    950: '#000000',
  },
}
SCSS
$custom: #ba992f;
$custom-light: #d3b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba992f",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 47
  },
  "hsl": {
    "h": 45.755,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6946,
    "c": 0.12565,
    "h": 90.9
  },
  "luminance": 0.33427
}

Semantic roles & 50–950 ramp

primary
#BA992F
secondary
#7C8EC9
accent
#6AE345
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BA992F

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

Preview Lab → · Contrast checker → · Palette generator →

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