#BA9B25#BA9B25

#BA9B25 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.132 H 93.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#BA9B25
RGBrgb(186, 155, 37)
HSLhsl(48, 67%, 44%)
HSVhsv(48, 80%, 73%)
CMYKcmyk(0%, 16.7%, 80.1%, 27.1%)
CIE-LABlab(64.98, -0.09, 60.99)
CIE-LCHlch(64.98, 60.99, 90.09°)
OKLaboklab(69.81% -0.0072 0.1321)
OKLCHoklch(69.81% 0.132 93.1)
XYZxyz(32.3068, 34.0173, 6.6143)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9B25 #2544BA
analogous
#BA5025 #BA9B25 #8EBA25
triadic
#BA9B25 #25BA9B #9B25BA
tetradic
#BA9B25 #25BA50 #2544BA #BA258E
square
#BA9B25 #25BA50 #2544BA #BA258E
split-complementary
#BA9B25 #258EBA #5025BA
monochromatic
#544611 #87701B #BA9B25 #DABA43 #E4CD76

Accessibility & contrast

On white

2.69
#BA9B25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#BA9B25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9B25
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9B25#FFFFFF#000000##000000
##BA9B251.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9806
Deuteranopia (green-blind)
#B4A12D
Tritanopia (blue-blind)
#CA8E85
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba9b25;
/* rgb */ color: rgb(186, 155, 37);
/* oklch */ color: oklch(69.8% 0.132 93.1);
Tailwind
colors: {
  custom: {
    50: '#d3b86a',
    500: '#ba9b25',
    950: '#000000',
  },
}
SCSS
$custom: #ba9b25;
$custom-light: #d3b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9b25",
  "rgb": {
    "r": 186,
    "g": 155,
    "b": 37
  },
  "hsl": {
    "h": 47.517,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69813,
    "c": 0.13228,
    "h": 93.1
  },
  "luminance": 0.34015
}

Semantic roles & 50–950 ramp

primary
#BA9B25
secondary
#7083CB
accent
#62EA3E
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9B25

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

Preview Lab → · Contrast checker → · Palette generator →

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