#BAAE38#BAAE38

#BAAE38 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.0% C 0.135 H 103.4°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#BAAE38
RGBrgb(186, 174, 56)
HSLhsl(54, 54%, 47%)
HSVhsv(54, 70%, 73%)
CMYKcmyk(0%, 6.5%, 69.9%, 27.1%)
CIE-LABlab(70.17, -9.34, 59.09)
CIE-LCHlch(70.17, 59.83, 98.98°)
OKLaboklab(73.97% -0.0315 0.1317)
OKLCHoklch(73.97% 0.135 103.4)
XYZxyz(36.1011, 40.9982, 9.7524)
Luminance0.4100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAE38 #3844BA
analogous
#BA6D38 #BAAE38 #85BA38
triadic
#BAAE38 #38BAAE #AE38BA
tetradic
#BAAE38 #38BA6D #3844BA #BA3885
square
#BAAE38 #38BA6D #3844BA #BA3885
split-complementary
#BAAE38 #3885BA #6D38BA
monochromatic
#5C561C #8B822A #BAAE38 #CFC560 #DDD68F

Accessibility & contrast

On white

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

On black

9.20
#BAAE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAE38
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAE38#FFFFFF#000000##000000
##BAAE381.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA826
Deuteranopia (green-blind)
#C1AE40
Tritanopia (blue-blind)
#C8A296
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baae38;
/* rgb */ color: rgb(186, 174, 56);
/* oklch */ color: oklch(74.0% 0.135 103.4);
Tailwind
colors: {
  custom: {
    50: '#d2c576',
    500: '#baae38',
    950: '#000000',
  },
}
SCSS
$custom: #baae38;
$custom-light: #d2c576;
$custom-dark: #000000;
JSON
{
  "hex": "#baae38",
  "rgb": {
    "r": 186,
    "g": 174,
    "b": 56
  },
  "hsl": {
    "h": 54.462,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73969,
    "c": 0.13544,
    "h": 103.4
  },
  "luminance": 0.40997
}

Semantic roles & 50–950 ramp

primary
#BAAE38
secondary
#868CC8
accent
#58DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAAE38

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

Preview Lab → · Contrast checker → · Palette generator →

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