#BAAF41#BAAF41

#BAAF41 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.3% C 0.130 H 103.6°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#BAAF41
RGBrgb(186, 175, 65)
HSLhsl(55, 48%, 49%)
HSVhsv(55, 65%, 73%)
CMYKcmyk(0%, 5.9%, 65.1%, 27.1%)
CIE-LABlab(70.51, -9.35, 55.78)
CIE-LCHlch(70.51, 56.56, 99.52°)
OKLaboklab(74.26% -0.0305 0.1262)
OKLCHoklch(74.26% 0.13 103.6)
XYZxyz(36.5352, 41.4821, 11.0824)
Luminance0.4148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF41 #414CBA
analogous
#BA7241 #BAAF41 #89BA41
triadic
#BAAF41 #41BAAF #AF41BA
tetradic
#BAAF41 #41BA72 #414CBA #BA4189
square
#BAAF41 #41BA72 #414CBA #BA4189
split-complementary
#BAAF41 #4189BA #7241BA
monochromatic
#5F5A21 #8D8431 #BAAF41 #CCC36C #DCD69A

Accessibility & contrast

On white

2.26
#BAAF41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#BAAF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAF41
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAF41#FFFFFF#000000##000000
##BAAF411.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA933
Deuteranopia (green-blind)
#C2AF47
Tritanopia (blue-blind)
#C7A398
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baaf41;
/* rgb */ color: rgb(186, 175, 65);
/* oklch */ color: oklch(74.3% 0.130 103.6);
Tailwind
colors: {
  custom: {
    50: '#d2c67b',
    500: '#baaf41',
    950: '#000000',
  },
}
SCSS
$custom: #baaf41;
$custom-light: #d2c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf41",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 54.545,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74259,
    "c": 0.12987,
    "h": 103.6
  },
  "luminance": 0.41481
}

Semantic roles & 50–950 ramp

primary
#BAAF41
secondary
#8F94C8
accent
#5CD850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAAF41

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

Preview Lab → · Contrast checker → · Palette generator →

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