#BAAE31#BAAE31

#BAAE31 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.140 H 103.7°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#BAAE31
RGBrgb(186, 174, 49)
HSLhsl(55, 58%, 46%)
HSVhsv(55, 74%, 73%)
CMYKcmyk(0%, 6.5%, 73.7%, 27.1%)
CIE-LABlab(70.13, -9.68, 61.66)
CIE-LCHlch(70.13, 62.42, 98.92°)
OKLaboklab(73.92% -0.0332 0.1359)
OKLCHoklch(73.92% 0.14 103.7)
XYZxyz(35.9417, 40.9344, 8.9131)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAE31 #313DBA
analogous
#BA6A31 #BAAE31 #81BA31
triadic
#BAAE31 #31BAAE #AE31BA
tetradic
#BAAE31 #31BA6A #313DBA #BA3181
square
#BAAE31 #31BA6A #313DBA #BA3181
split-complementary
#BAAE31 #3181BA #6A31BA
monochromatic
#595317 #8A8124 #BAAE31 #D2C856 #DFD786

Accessibility & contrast

On white

2.29
#BAAE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#BAAE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAE31
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAE31#FFFFFF#000000##000000
##BAAE311.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA81A
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#C8A296
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #baae31;
/* rgb */ color: rgb(186, 174, 49);
/* oklch */ color: oklch(73.9% 0.140 103.7);
Tailwind
colors: {
  custom: {
    50: '#d2c572',
    500: '#baae31',
    950: '#000000',
  },
}
SCSS
$custom: #baae31;
$custom-light: #d2c572;
$custom-dark: #000000;
JSON
{
  "hex": "#baae31",
  "rgb": {
    "r": 186,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 54.745,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73919,
    "c": 0.13988,
    "h": 103.7
  },
  "luminance": 0.40933
}

Semantic roles & 50–950 ramp

primary
#BAAE31
secondary
#7E85C9
accent
#54E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAAE31

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

Preview Lab → · Contrast checker → · Palette generator →

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