#BA9930#BA9930

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

Color values

HEX#BA9930
RGBrgb(186, 153, 48)
HSLhsl(46, 59%, 46%)
HSVhsv(46, 74%, 73%)
CMYKcmyk(0%, 17.7%, 74.2%, 27.1%)
CIE-LABlab(64.51, 1.43, 56.63)
CIE-LCHlch(64.51, 56.65, 88.55°)
OKLaboklab(69.47% -0.0017 0.125)
OKLCHoklch(69.47% 0.125 90.8)
XYZxyz(32.1763, 33.4370, 7.5550)
Luminance0.3343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9930 #3051BA
analogous
#BA5430 #BA9930 #96BA30
triadic
#BA9930 #30BA99 #9930BA
tetradic
#BA9930 #30BA54 #3051BA #BA3096
square
#BA9930 #30BA54 #3051BA #BA3096
split-complementary
#BA9930 #3096BA #5430BA
monochromatic
#594917 #897123 #BA9930 #D3B554 #DFCA85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA9930#FFFFFF#000000##000000
##BA99301.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)
#AA971F
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#C98C84
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba9930;
/* rgb */ color: rgb(186, 153, 48);
/* oklch */ color: oklch(69.5% 0.125 90.8);
Tailwind
colors: {
  custom: {
    50: '#d3b66f',
    500: '#ba9930',
    950: '#000000',
  },
}
SCSS
$custom: #ba9930;
$custom-light: #d3b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9930",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 48
  },
  "hsl": {
    "h": 45.652,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69467,
    "c": 0.12504,
    "h": 90.8
  },
  "luminance": 0.33435
}

Semantic roles & 50–950 ramp

primary
#BA9930
secondary
#7D8FC9
accent
#6BE246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9930

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

Preview Lab → · Contrast checker → · Palette generator →

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