#BAAF55#BAAF55

#BAAF55 is a light, moderate yellow. Relative luminance 0.418; OKLCH L 74.5% C 0.113 H 102.4°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#BAAF55
RGBrgb(186, 175, 85)
HSLhsl(53, 42%, 53%)
HSVhsv(53, 54%, 73%)
CMYKcmyk(0%, 5.9%, 54.3%, 27.1%)
CIE-LABlab(70.70, -7.91, 46.91)
CIE-LCHlch(70.70, 47.57, 99.57°)
OKLaboklab(74.47% -0.0241 0.1099)
OKLCHoklch(74.47% 0.113 102.4)
XYZxyz(37.2205, 41.7562, 14.6917)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF55 #5560BA
analogous
#BA7C55 #BAAF55 #92BA55
triadic
#BAAF55 #55BAAF #AF55BA
tetradic
#BAAF55 #55BA7C #5560BA #BA5592
square
#BAAF55 #55BA7C #5560BA #BA5592
split-complementary
#BAAF55 #5592BA #7C55BA
monochromatic
#6A632B #958C3D #BAAF55 #CCC381 #DDD8AC

Accessibility & contrast

On white

2.25
#BAAF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#BAAF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAF55
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAF55#FFFFFF#000000##000000
##BAAF551.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA4C
Deuteranopia (green-blind)
#C0AF59
Tritanopia (blue-blind)
#C6A59B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #baaf55;
/* rgb */ color: rgb(186, 175, 85);
/* oklch */ color: oklch(74.5% 0.113 102.4);
Tailwind
colors: {
  custom: {
    50: '#d1c687',
    500: '#baaf55',
    950: '#000000',
  },
}
SCSS
$custom: #baaf55;
$custom-light: #d1c687;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf55",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 85
  },
  "hsl": {
    "h": 53.465,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.74471,
    "c": 0.11253,
    "h": 102.4
  },
  "luminance": 0.41755
}

Semantic roles & 50–950 ramp

primary
#BAAF55
secondary
#A0A4CB
accent
#63D256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAAF55

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

Preview Lab → · Contrast checker → · Palette generator →

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