#BAA434#BAA434

#BAA434 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.8% C 0.130 H 97.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#BAA434
RGBrgb(186, 164, 52)
HSLhsl(50, 56%, 47%)
HSVhsv(50, 72%, 73%)
CMYKcmyk(0%, 11.8%, 72%, 27.1%)
CIE-LABlab(67.46, -4.28, 57.95)
CIE-LCHlch(67.46, 58.11, 94.22°)
OKLaboklab(71.8% -0.0176 0.1286)
OKLCHoklch(71.8% 0.13 97.8)
XYZxyz(34.1467, 37.2397, 8.6375)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA434 #344ABA
analogous
#BA6134 #BAA434 #8DBA34
triadic
#BAA434 #34BAA4 #A434BA
tetradic
#BAA434 #34BA61 #344ABA #BA348D
square
#BAA434 #34BA61 #344ABA #BA348D
split-complementary
#BAA434 #348DBA #6134BA
monochromatic
#5A5019 #8A7A27 #BAA434 #D1BD5A #DED08A

Accessibility & contrast

On white

2.49
#BAA434 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#BAA434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA434
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA434#FFFFFF#000000##000000
##BAA4341.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A022
Deuteranopia (green-blind)
#BAA73B
Tritanopia (blue-blind)
#C9988E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #baa434;
/* rgb */ color: rgb(186, 164, 52);
/* oklch */ color: oklch(71.8% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#d2be73',
    500: '#baa434',
    950: '#000000',
  },
}
SCSS
$custom: #baa434;
$custom-light: #d2be73;
$custom-dark: #000000;
JSON
{
  "hex": "#baa434",
  "rgb": {
    "r": 186,
    "g": 164,
    "b": 52
  },
  "hsl": {
    "h": 50.149,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71802,
    "c": 0.1298,
    "h": 97.8
  },
  "luminance": 0.37238
}

Semantic roles & 50–950 ramp

primary
#BAA434
secondary
#818DC8
accent
#61E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA434

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

Preview Lab → · Contrast checker → · Palette generator →

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