#BAA334#BAA334

#BAA334 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.129 H 97.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#BAA334
RGBrgb(186, 163, 52)
HSLhsl(50, 56%, 47%)
HSVhsv(50, 72%, 73%)
CMYKcmyk(0%, 12.4%, 72%, 27.1%)
CIE-LABlab(67.19, -3.75, 57.69)
CIE-LCHlch(67.19, 57.81, 93.72°)
OKLaboklab(71.59% -0.016 0.1281)
OKLCHoklch(71.59% 0.129 97.1)
XYZxyz(33.9684, 36.8832, 8.5781)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA334 #344BBA
analogous
#BA6034 #BAA334 #8EBA34
triadic
#BAA334 #34BAA3 #A334BA
tetradic
#BAA334 #34BA60 #344BBA #BA348E
square
#BAA334 #34BA60 #344BBA #BA348E
split-complementary
#BAA334 #348EBA #6034BA
monochromatic
#5A4F19 #8A7927 #BAA334 #D1BD5A #DED08A

Accessibility & contrast

On white

2.51
#BAA334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#BAA334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA334
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA334#FFFFFF#000000##000000
##BAA3341.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F23
Deuteranopia (green-blind)
#B9A73B
Tritanopia (blue-blind)
#C9978D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #baa334;
/* rgb */ color: rgb(186, 163, 52);
/* oklch */ color: oklch(71.6% 0.129 97.1);
Tailwind
colors: {
  custom: {
    50: '#d2bd73',
    500: '#baa334',
    950: '#000000',
  },
}
SCSS
$custom: #baa334;
$custom-light: #d2bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#baa334",
  "rgb": {
    "r": 186,
    "g": 163,
    "b": 52
  },
  "hsl": {
    "h": 49.701,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71591,
    "c": 0.12905,
    "h": 97.1
  },
  "luminance": 0.36881
}

Semantic roles & 50–950 ramp

primary
#BAA334
secondary
#818EC8
accent
#62E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAA334

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

Preview Lab → · Contrast checker → · Palette generator →

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