#BAA848#BAA848

#BAA848 is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.8% C 0.118 H 98.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#BAA848
RGBrgb(186, 168, 72)
HSLhsl(51, 45%, 51%)
HSVhsv(51, 61%, 73%)
CMYKcmyk(0%, 9.7%, 61.3%, 27.1%)
CIE-LABlab(68.69, -5.22, 50.73)
CIE-LCHlch(68.69, 51.00, 95.87°)
OKLaboklab(72.83% -0.0179 0.1166)
OKLCHoklch(72.83% 0.118 98.7)
XYZxyz(35.4235, 38.9138, 11.7748)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA848 #485ABA
analogous
#BA6F48 #BAA848 #93BA48
triadic
#BAA848 #48BAA8 #A848BA
tetradic
#BAA848 #48BA6F #485ABA #BA4893
square
#BAA848 #48BA6F #485ABA #BA4893
split-complementary
#BAA848 #4893BA #6F48BA
monochromatic
#625925 #8F8136 #BAA848 #CBBD74 #DCD2A1

Accessibility & contrast

On white

2.39
#BAA848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#BAA848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA848
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA848#FFFFFF#000000##000000
##BAA8481.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A43E
Deuteranopia (green-blind)
#BCAA4D
Tritanopia (blue-blind)
#C89D93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa848;
/* rgb */ color: rgb(186, 168, 72);
/* oklch */ color: oklch(72.8% 0.118 98.7);
Tailwind
colors: {
  custom: {
    50: '#d2c17f',
    500: '#baa848',
    950: '#000000',
  },
}
SCSS
$custom: #baa848;
$custom-light: #d2c17f;
$custom-dark: #000000;
JSON
{
  "hex": "#baa848",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 72
  },
  "hsl": {
    "h": 50.526,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72831,
    "c": 0.11792,
    "h": 98.7
  },
  "luminance": 0.38912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAA848

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

Preview Lab → · Contrast checker → · Palette generator →

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