#BAA045#BAA045

#BAA045 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.1% C 0.114 H 93.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#BAA045
RGBrgb(186, 160, 69)
HSLhsl(47, 46%, 50%)
HSVhsv(47, 63%, 73%)
CMYKcmyk(0%, 14%, 62.9%, 27.1%)
CIE-LABlab(66.53, -1.15, 49.73)
CIE-LCHlch(66.53, 49.74, 91.33°)
OKLaboklab(71.11% -0.0066 0.114)
OKLCHoklch(71.11% 0.114 93.3)
XYZxyz(33.8962, 36.0121, 10.7947)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA045 #455FBA
analogous
#BA6645 #BAA045 #99BA45
triadic
#BAA045 #45BAA0 #A045BA
tetradic
#BAA045 #45BA66 #455FBA #BA4599
square
#BAA045 #45BA66 #455FBA #BA4599
split-complementary
#BAA045 #4599BA #6645BA
monochromatic
#615324 #8D7A34 #BAA045 #CBB772 #DBCE9E

Accessibility & contrast

On white

2.56
#BAA045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#BAA045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA045
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA045#FFFFFF#000000##000000
##BAA0451.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D3B
Deuteranopia (green-blind)
#B6A549
Tritanopia (blue-blind)
#C8948C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa045;
/* rgb */ color: rgb(186, 160, 69);
/* oklch */ color: oklch(71.1% 0.114 93.3);
Tailwind
colors: {
  custom: {
    50: '#d2bb7c',
    500: '#baa045',
    950: '#000000',
  },
}
SCSS
$custom: #baa045;
$custom-light: #d2bb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#baa045",
  "rgb": {
    "r": 186,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 46.667,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.71113,
    "c": 0.11418,
    "h": 93.3
  },
  "luminance": 0.3601
}

Semantic roles & 50–950 ramp

primary
#BAA045
secondary
#939FC8
accent
#6FD652
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14110A
muted
#83807C

Preview Lab

Preview with #BAA045

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

Preview Lab → · Contrast checker → · Palette generator →

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