#BA9627#BA9627

#BA9627 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.8% C 0.129 H 89.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#BA9627
RGBrgb(186, 150, 39)
HSLhsl(45, 65%, 44%)
HSVhsv(45, 79%, 73%)
CMYKcmyk(0%, 19.4%, 79%, 27.1%)
CIE-LABlab(63.67, 2.69, 59.15)
CIE-LCHlch(63.67, 59.21, 87.40°)
OKLaboklab(68.79% 0.0009 0.1285)
OKLCHoklch(68.79% 0.129 89.6)
XYZxyz(31.5242, 32.4004, 6.5126)
Luminance0.3240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9627 #274BBA
analogous
#BA4D27 #BA9627 #95BA27
triadic
#BA9627 #27BA96 #9627BA
tetradic
#BA9627 #27BA4D #274BBA #BA2795
square
#BA9627 #27BA4D #274BBA #BA2795
split-complementary
#BA9627 #2795BA #4D27BA
monochromatic
#554412 #876D1C #BA9627 #D8B446 #E3C979

Accessibility & contrast

On white

2.81
#BA9627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#BA9627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9627
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9627#FFFFFF#000000##000000
##BA96271.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940F
Deuteranopia (green-blind)
#B19E2E
Tritanopia (blue-blind)
#CA8981
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba9627;
/* rgb */ color: rgb(186, 150, 39);
/* oklch */ color: oklch(68.8% 0.129 89.6);
Tailwind
colors: {
  custom: {
    50: '#d3b46b',
    500: '#ba9627',
    950: '#000000',
  },
}
SCSS
$custom: #ba9627;
$custom-light: #d3b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9627",
  "rgb": {
    "r": 186,
    "g": 150,
    "b": 39
  },
  "hsl": {
    "h": 45.306,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68787,
    "c": 0.12854,
    "h": 89.6
  },
  "luminance": 0.32398
}

Semantic roles & 50–950 ramp

primary
#BA9627
secondary
#7288CB
accent
#69E840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BA9627

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

Preview Lab → · Contrast checker → · Palette generator →

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