#BAAE42#BAAE42

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

Color values

HEX#BAAE42
RGBrgb(186, 174, 66)
HSLhsl(54, 48%, 49%)
HSVhsv(54, 65%, 73%)
CMYKcmyk(0%, 6.5%, 64.5%, 27.1%)
CIE-LABlab(70.25, -8.77, 55.08)
CIE-LCHlch(70.25, 55.77, 99.04°)
OKLaboklab(74.05% -0.0288 0.1249)
OKLCHoklch(74.05% 0.128 103)
XYZxyz(36.3705, 41.1060, 11.1716)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAE42 #424EBA
analogous
#BA7242 #BAAE42 #8ABA42
triadic
#BAAE42 #42BAAE #AE42BA
tetradic
#BAAE42 #42BA72 #424EBA #BA428A
square
#BAAE42 #42BA72 #424EBA #BA428A
split-complementary
#BAAE42 #428ABA #7242BA
monochromatic
#605922 #8D8432 #BAAE42 #CBC26E #DBD59B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAE42#FFFFFF#000000##000000
##BAAE421.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)
#BDA935
Deuteranopia (green-blind)
#C1AE48
Tritanopia (blue-blind)
#C7A297
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baae42;
/* rgb */ color: rgb(186, 174, 66);
/* oklch */ color: oklch(74.1% 0.128 103.0);
Tailwind
colors: {
  custom: {
    50: '#d2c57c',
    500: '#baae42',
    950: '#000000',
  },
}
SCSS
$custom: #baae42;
$custom-light: #d2c57c;
$custom-dark: #000000;
JSON
{
  "hex": "#baae42",
  "rgb": {
    "r": 186,
    "g": 174,
    "b": 66
  },
  "hsl": {
    "h": 54,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.74053,
    "c": 0.12817,
    "h": 103
  },
  "luminance": 0.41105
}

Semantic roles & 50–950 ramp

primary
#BAAE42
secondary
#9096C8
accent
#5ED751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAAE42

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

Preview Lab → · Contrast checker → · Palette generator →

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