#BAAD40#BAAD40

#BAAD40 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.8% C 0.129 H 102.5°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#BAAD40
RGBrgb(186, 173, 64)
HSLhsl(54, 49%, 49%)
HSVhsv(54, 66%, 73%)
CMYKcmyk(0%, 7%, 65.6%, 27.1%)
CIE-LABlab(69.96, -8.37, 55.63)
CIE-LCHlch(69.96, 56.25, 98.56°)
OKLaboklab(73.82% -0.0278 0.1258)
OKLCHoklch(73.82% 0.129 102.5)
XYZxyz(36.1201, 40.6979, 10.8023)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAD40 #404DBA
analogous
#BA7040 #BAAD40 #8ABA40
triadic
#BAAD40 #40BAAD #AD40BA
tetradic
#BAAD40 #40BA70 #404DBA #BA408A
square
#BAAD40 #40BA70 #404DBA #BA408A
split-complementary
#BAAD40 #408ABA #7040BA
monochromatic
#5F5821 #8C8330 #BAAD40 #CCC26B #DCD599

Accessibility & contrast

On white

2.30
#BAAD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#BAAD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAD40
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAD40#FFFFFF#000000##000000
##BAAD401.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA832
Deuteranopia (green-blind)
#C0AE46
Tritanopia (blue-blind)
#C8A196
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #baad40;
/* rgb */ color: rgb(186, 173, 64);
/* oklch */ color: oklch(73.8% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#d2c57a',
    500: '#baad40',
    950: '#000000',
  },
}
SCSS
$custom: #baad40;
$custom-light: #d2c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#baad40",
  "rgb": {
    "r": 186,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 53.607,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7382,
    "c": 0.1288,
    "h": 102.5
  },
  "luminance": 0.40696
}

Semantic roles & 50–950 ramp

primary
#BAAD40
secondary
#8E94C8
accent
#5ED84F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAD40

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

Preview Lab → · Contrast checker → · Palette generator →

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