#BAA748#BAA748

#BAA748 is a light, moderate yellow. Relative luminance 0.385; OKLCH L 72.6% C 0.117 H 98.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#BAA748
RGBrgb(186, 167, 72)
HSLhsl(50, 45%, 51%)
HSVhsv(50, 61%, 73%)
CMYKcmyk(0%, 10.2%, 61.3%, 27.1%)
CIE-LABlab(68.42, -4.69, 50.43)
CIE-LCHlch(68.42, 50.65, 95.31°)
OKLaboklab(72.62% -0.0164 0.1159)
OKLCHoklch(72.62% 0.117 98.1)
XYZxyz(35.2396, 38.5460, 11.7135)
Luminance0.3854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA748 #485BBA
analogous
#BA6E48 #BAA748 #94BA48
triadic
#BAA748 #48BAA7 #A748BA
tetradic
#BAA748 #48BA6E #485BBA #BA4894
square
#BAA748 #48BA6E #485BBA #BA4894
split-complementary
#BAA748 #4894BA #6E48BA
monochromatic
#625825 #8F8036 #BAA748 #CBBC74 #DCD2A1

Accessibility & contrast

On white

2.41
#BAA748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#BAA748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA748
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA748#FFFFFF#000000##000000
##BAA7481.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33E
Deuteranopia (green-blind)
#BBAA4D
Tritanopia (blue-blind)
#C89C92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa748;
/* rgb */ color: rgb(186, 167, 72);
/* oklch */ color: oklch(72.6% 0.117 98.1);
Tailwind
colors: {
  custom: {
    50: '#d2c07f',
    500: '#baa748',
    950: '#000000',
  },
}
SCSS
$custom: #baa748;
$custom-light: #d2c07f;
$custom-dark: #000000;
JSON
{
  "hex": "#baa748",
  "rgb": {
    "r": 186,
    "g": 167,
    "b": 72
  },
  "hsl": {
    "h": 50,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72619,
    "c": 0.11707,
    "h": 98.1
  },
  "luminance": 0.38544
}

Semantic roles & 50–950 ramp

primary
#BAA748
secondary
#969EC8
accent
#69D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA748

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

Preview Lab → · Contrast checker → · Palette generator →

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