#BA992D#BA992D

#BA992D is a light, vivid yellow. Relative luminance 0.334; OKLCH L 69.4% C 0.127 H 91.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#BA992D
RGBrgb(186, 153, 45)
HSLhsl(46, 61%, 45%)
HSVhsv(46, 76%, 73%)
CMYKcmyk(0%, 17.7%, 75.8%, 27.1%)
CIE-LABlab(64.49, 1.30, 57.76)
CIE-LCHlch(64.49, 57.77, 88.71°)
OKLaboklab(69.45% -0.0024 0.1268)
OKLCHoklch(69.45% 0.127 91.1)
XYZxyz(32.1164, 33.4130, 7.2399)
Luminance0.3341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA992D #2D4EBA
analogous
#BA522D #BA992D #95BA2D
triadic
#BA992D #2DBA99 #992DBA
tetradic
#BA992D #2DBA52 #2D4EBA #BA2D95
square
#BA992D #2DBA52 #2D4EBA #BA2D95
split-complementary
#BA992D #2D95BA #522DBA
monochromatic
#574815 #897021 #BA992D #D5B550 #E0CA81

Accessibility & contrast

On white

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

On black

7.68
#BA992D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA992D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA992D#FFFFFF#000000##000000
##BA992D1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971A
Deuteranopia (green-blind)
#B3A033
Tritanopia (blue-blind)
#CA8C84
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba992d;
/* rgb */ color: rgb(186, 153, 45);
/* oklch */ color: oklch(69.4% 0.127 91.1);
Tailwind
colors: {
  custom: {
    50: '#d3b66e',
    500: '#ba992d',
    950: '#000000',
  },
}
SCSS
$custom: #ba992d;
$custom-light: #d3b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#ba992d",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 45
  },
  "hsl": {
    "h": 45.957,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69446,
    "c": 0.12684,
    "h": 91.1
  },
  "luminance": 0.33411
}

Semantic roles & 50–950 ramp

primary
#BA992D
secondary
#798CC9
accent
#69E444
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BA992D

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

Preview Lab → · Contrast checker → · Palette generator →

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