#BA9E2E#BA9E2E

#BA9E2E is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.5% C 0.129 H 94.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BA9E2E
RGBrgb(186, 158, 46)
HSLhsl(48, 60%, 45%)
HSVhsv(48, 75%, 73%)
CMYKcmyk(0%, 15.1%, 75.3%, 27.1%)
CIE-LABlab(65.82, -1.35, 58.65)
CIE-LCHlch(65.82, 58.66, 91.32°)
OKLaboklab(70.49% -0.0099 0.1289)
OKLCHoklch(70.49% 0.129 94.4)
XYZxyz(32.9715, 35.0920, 7.6210)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9E2E #2E4ABA
analogous
#BA582E #BA9E2E #90BA2E
triadic
#BA9E2E #2EBA9E #9E2EBA
tetradic
#BA9E2E #2EBA58 #2E4ABA #BA2E90
square
#BA9E2E #2EBA58 #2E4ABA #BA2E90
split-complementary
#BA9E2E #2E90BA #582EBA
monochromatic
#584B16 #897422 #BA9E2E #D4BA51 #E0CD82

Accessibility & contrast

On white

2.62
#BA9E2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#BA9E2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9E2E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9E2E#FFFFFF#000000##000000
##BA9E2E1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#B6A435
Tritanopia (blue-blind)
#C99188
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba9e2e;
/* rgb */ color: rgb(186, 158, 46);
/* oklch */ color: oklch(70.5% 0.129 94.4);
Tailwind
colors: {
  custom: {
    50: '#d3ba6f',
    500: '#ba9e2e',
    950: '#000000',
  },
}
SCSS
$custom: #ba9e2e;
$custom-light: #d3ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9e2e",
  "rgb": {
    "r": 186,
    "g": 158,
    "b": 46
  },
  "hsl": {
    "h": 48,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70495,
    "c": 0.12929,
    "h": 94.4
  },
  "luminance": 0.3509
}

Semantic roles & 50–950 ramp

primary
#BA9E2E
secondary
#7B8AC9
accent
#64E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BA9E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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