#BA9E37#BA9E37

#BA9E37 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.6% C 0.124 H 93.5°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#BA9E37
RGBrgb(186, 158, 55)
HSLhsl(47, 54%, 47%)
HSVhsv(47, 70%, 73%)
CMYKcmyk(0%, 15.1%, 70.4%, 27.1%)
CIE-LABlab(65.88, -0.92, 55.18)
CIE-LCHlch(65.88, 55.19, 90.95°)
OKLaboklab(70.56% -0.0076 0.1233)
OKLCHoklch(70.56% 0.124 93.5)
XYZxyz(33.1679, 35.1705, 8.6553)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9E37 #3753BA
analogous
#BA5D37 #BA9E37 #94BA37
triadic
#BA9E37 #37BA9E #9E37BA
tetradic
#BA9E37 #37BA5D #3753BA #BA3794
square
#BA9E37 #37BA5D #3753BA #BA3794
split-complementary
#BA9E37 #3794BA #5D37BA
monochromatic
#5C4E1B #8B7629 #BA9E37 #D0B75F #DECD8E

Accessibility & contrast

On white

2.61
#BA9E37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#BA9E37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9E37
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9E37#FFFFFF#000000##000000
##BA9E371.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B29
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#C99289
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba9e37;
/* rgb */ color: rgb(186, 158, 55);
/* oklch */ color: oklch(70.6% 0.124 93.5);
Tailwind
colors: {
  custom: {
    50: '#d2ba74',
    500: '#ba9e37',
    950: '#000000',
  },
}
SCSS
$custom: #ba9e37;
$custom-light: #d2ba74;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9e37",
  "rgb": {
    "r": 186,
    "g": 158,
    "b": 55
  },
  "hsl": {
    "h": 47.176,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70563,
    "c": 0.12353,
    "h": 93.5
  },
  "luminance": 0.35169
}

Semantic roles & 50–950 ramp

primary
#BA9E37
secondary
#8593C8
accent
#6ADE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9E37

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

Preview Lab → · Contrast checker → · Palette generator →

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