#BAA751#BAA751

#BAA751 is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.7% C 0.109 H 97.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#BAA751
RGBrgb(186, 167, 81)
HSLhsl(49, 43%, 52%)
HSVhsv(49, 56%, 73%)
CMYKcmyk(0%, 10.2%, 56.5%, 27.1%)
CIE-LABlab(68.51, -4.01, 46.29)
CIE-LCHlch(68.51, 46.47, 94.96°)
OKLaboklab(72.72% -0.0134 0.1082)
OKLCHoklch(72.72% 0.109 97.1)
XYZxyz(35.5550, 38.6721, 13.3746)
Luminance0.3867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA751 #5164BA
analogous
#BA7351 #BAA751 #98BA51
triadic
#BAA751 #51BAA7 #A751BA
tetradic
#BAA751 #51BA73 #5164BA #BA5198
square
#BAA751 #51BA73 #5164BA #BA5198
split-complementary
#BAA751 #5198BA #7351BA
monochromatic
#685C29 #93833A #BAA751 #CBBD7D #DDD3A9

Accessibility & contrast

On white

2.40
#BAA751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#BAA751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA751
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA751#FFFFFF#000000##000000
##BAA7511.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A349
Deuteranopia (green-blind)
#BBAA55
Tritanopia (blue-blind)
#C79C94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa751;
/* rgb */ color: rgb(186, 167, 81);
/* oklch */ color: oklch(72.7% 0.109 97.1);
Tailwind
colors: {
  custom: {
    50: '#d1c084',
    500: '#baa751',
    950: '#000000',
  },
}
SCSS
$custom: #baa751;
$custom-light: #d1c084;
$custom-dark: #000000;
JSON
{
  "hex": "#baa751",
  "rgb": {
    "r": 186,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 49.143,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.72721,
    "c": 0.10898,
    "h": 97.1
  },
  "luminance": 0.38671
}

Semantic roles & 50–950 ramp

primary
#BAA751
secondary
#9DA5CA
accent
#6CD355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAA751

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

Preview Lab → · Contrast checker → · Palette generator →

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