#BA9D29#BA9D29

#BA9D29 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.3% C 0.131 H 94.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#BA9D29
RGBrgb(186, 157, 41)
HSLhsl(48, 64%, 45%)
HSVhsv(48, 78%, 73%)
CMYKcmyk(0%, 15.6%, 78%, 27.1%)
CIE-LABlab(65.53, -1.02, 60.16)
CIE-LCHlch(65.53, 60.16, 90.97°)
OKLaboklab(70.25% -0.0094 0.1311)
OKLCHoklch(70.25% 0.131 94.1)
XYZxyz(32.7087, 34.7151, 7.0752)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9D29 #2946BA
analogous
#BA5529 #BA9D29 #8FBA29
triadic
#BA9D29 #29BA9D #9D29BA
tetradic
#BA9D29 #29BA55 #2946BA #BA298F
square
#BA9D29 #29BA55 #2946BA #BA298F
split-complementary
#BA9D29 #298FBA #5529BA
monochromatic
#564813 #88731E #BA9D29 #D7BB49 #E2CD7B

Accessibility & contrast

On white

2.64
#BA9D29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#BA9D29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9D29
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9D29#FFFFFF#000000##000000
##BA9D291.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A10
Deuteranopia (green-blind)
#B6A331
Tritanopia (blue-blind)
#C99087
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba9d29;
/* rgb */ color: rgb(186, 157, 41);
/* oklch */ color: oklch(70.3% 0.131 94.1);
Tailwind
colors: {
  custom: {
    50: '#d3b96c',
    500: '#ba9d29',
    950: '#000000',
  },
}
SCSS
$custom: #ba9d29;
$custom-light: #d3b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9d29",
  "rgb": {
    "r": 186,
    "g": 157,
    "b": 41
  },
  "hsl": {
    "h": 48,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70254,
    "c": 0.13146,
    "h": 94.1
  },
  "luminance": 0.34713
}

Semantic roles & 50–950 ramp

primary
#BA9D29
secondary
#7586CA
accent
#62E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9D29

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

Preview Lab → · Contrast checker → · Palette generator →

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