#BAAE40#BAAE40

#BAAE40 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.0% C 0.130 H 103.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#BAAE40
RGBrgb(186, 174, 64)
HSLhsl(54, 49%, 49%)
HSVhsv(54, 66%, 73%)
CMYKcmyk(0%, 6.5%, 65.6%, 27.1%)
CIE-LABlab(70.23, -8.89, 55.91)
CIE-LCHlch(70.23, 56.61, 99.04°)
OKLaboklab(74.04% -0.0293 0.1264)
OKLCHoklch(74.04% 0.13 103.1)
XYZxyz(36.3126, 41.0828, 10.8665)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAE40 #404CBA
analogous
#BA7140 #BAAE40 #89BA40
triadic
#BAAE40 #40BAAE #AE40BA
tetradic
#BAAE40 #40BA71 #404CBA #BA4089
square
#BAAE40 #40BA71 #404CBA #BA4089
split-complementary
#BAAE40 #4089BA #7140BA
monochromatic
#5F5921 #8C8330 #BAAE40 #CCC36B #DCD599

Accessibility & contrast

On white

2.28
#BAAE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#BAAE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAE40
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAE40#FFFFFF#000000##000000
##BAAE401.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#C8A297
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baae40;
/* rgb */ color: rgb(186, 174, 64);
/* oklch */ color: oklch(74.0% 0.130 103.1);
Tailwind
colors: {
  custom: {
    50: '#d2c57a',
    500: '#baae40',
    950: '#000000',
  },
}
SCSS
$custom: #baae40;
$custom-light: #d2c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#baae40",
  "rgb": {
    "r": 186,
    "g": 174,
    "b": 64
  },
  "hsl": {
    "h": 54.098,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74035,
    "c": 0.12971,
    "h": 103.1
  },
  "luminance": 0.41081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAAE40

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

Preview Lab → · Contrast checker → · Palette generator →

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