#BAA438#BAA438

#BAA438 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.127 H 97.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#BAA438
RGBrgb(186, 164, 56)
HSLhsl(50, 54%, 47%)
HSVhsv(50, 70%, 73%)
CMYKcmyk(0%, 11.8%, 69.9%, 27.1%)
CIE-LABlab(67.48, -4.08, 56.39)
CIE-LCHlch(67.48, 56.54, 94.13°)
OKLaboklab(71.83% -0.0165 0.126)
OKLCHoklch(71.83% 0.127 97.5)
XYZxyz(34.2406, 37.2773, 9.1323)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA438 #384EBA
analogous
#BA6338 #BAA438 #8FBA38
triadic
#BAA438 #38BAA4 #A438BA
tetradic
#BAA438 #38BA63 #384EBA #BA388F
square
#BAA438 #38BA63 #384EBA #BA388F
split-complementary
#BAA438 #388FBA #6338BA
monochromatic
#5C511C #8B7B2A #BAA438 #CFBC60 #DDD08F

Accessibility & contrast

On white

2.48
#BAA438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#BAA438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA438
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA438#FFFFFF#000000##000000
##BAA4381.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baa438;
/* rgb */ color: rgb(186, 164, 56);
/* oklch */ color: oklch(71.8% 0.127 97.5);
Tailwind
colors: {
  custom: {
    50: '#d2be75',
    500: '#baa438',
    950: '#000000',
  },
}
SCSS
$custom: #baa438;
$custom-light: #d2be75;
$custom-dark: #000000;
JSON
{
  "hex": "#baa438",
  "rgb": {
    "r": 186,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 49.846,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71834,
    "c": 0.12711,
    "h": 97.5
  },
  "luminance": 0.37276
}

Semantic roles & 50–950 ramp

primary
#BAA438
secondary
#8691C8
accent
#63DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA438

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

Preview Lab → · Contrast checker → · Palette generator →

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