#BAAF49#BAAF49

#BAAF49 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.3% C 0.123 H 103.2°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#BAAF49
RGBrgb(186, 175, 73)
HSLhsl(54, 45%, 51%)
HSVhsv(54, 61%, 73%)
CMYKcmyk(0%, 5.9%, 60.8%, 27.1%)
CIE-LABlab(70.58, -8.83, 52.36)
CIE-LCHlch(70.58, 53.10, 99.57°)
OKLaboklab(74.34% -0.0281 0.1202)
OKLCHoklch(74.34% 0.123 103.2)
XYZxyz(36.7836, 41.5815, 12.3905)
Luminance0.4158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF49 #4954BA
analogous
#BA7649 #BAAF49 #8CBA49
triadic
#BAAF49 #49BAAF #AF49BA
tetradic
#BAAF49 #49BA76 #4954BA #BA498C
square
#BAAF49 #49BA76 #4954BA #BA498C
split-complementary
#BAAF49 #498CBA #7649BA
monochromatic
#635D26 #8F8736 #BAAF49 #CBC375 #DCD6A2

Accessibility & contrast

On white

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

On black

9.32
#BAAF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAF49
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAF49#FFFFFF#000000##000000
##BAAF491.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3E
Deuteranopia (green-blind)
#C1AF4E
Tritanopia (blue-blind)
#C7A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #baaf49;
/* rgb */ color: rgb(186, 175, 73);
/* oklch */ color: oklch(74.3% 0.123 103.2);
Tailwind
colors: {
  custom: {
    50: '#d1c680',
    500: '#baaf49',
    950: '#000000',
  },
}
SCSS
$custom: #baaf49;
$custom-light: #d1c680;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf49",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 73
  },
  "hsl": {
    "h": 54.159,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74336,
    "c": 0.12341,
    "h": 103.2
  },
  "luminance": 0.4158
}

Semantic roles & 50–950 ramp

primary
#BAAF49
secondary
#969BC8
accent
#60D553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAAF49

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

Preview Lab → · Contrast checker → · Palette generator →

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