#BAAF48#BAAF48

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

Color values

HEX#BAAF48
RGBrgb(186, 175, 72)
HSLhsl(54, 45%, 51%)
HSVhsv(54, 61%, 73%)
CMYKcmyk(0%, 5.9%, 61.3%, 27.1%)
CIE-LABlab(70.57, -8.90, 52.80)
CIE-LCHlch(70.57, 53.54, 99.56°)
OKLaboklab(74.33% -0.0284 0.121)
OKLCHoklch(74.33% 0.124 103.2)
XYZxyz(36.7507, 41.5683, 12.2173)
Luminance0.4157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF48 #4853BA
analogous
#BA7648 #BAAF48 #8CBA48
triadic
#BAAF48 #48BAAF #AF48BA
tetradic
#BAAF48 #48BA76 #4853BA #BA488C
square
#BAAF48 #48BA76 #4853BA #BA488C
split-complementary
#BAAF48 #488CBA #7648BA
monochromatic
#625D25 #8F8636 #BAAF48 #CBC274 #DCD6A1

Accessibility & contrast

On white

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

On black

9.31
#BAAF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAF48
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAF48#FFFFFF#000000##000000
##BAAF481.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baaf48;
/* rgb */ color: rgb(186, 175, 72);
/* oklch */ color: oklch(74.3% 0.124 103.2);
Tailwind
colors: {
  custom: {
    50: '#d1c67f',
    500: '#baaf48',
    950: '#000000',
  },
}
SCSS
$custom: #baaf48;
$custom-light: #d1c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf48",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 54.211,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74325,
    "c": 0.12425,
    "h": 103.2
  },
  "luminance": 0.41567
}

Semantic roles & 50–950 ramp

primary
#BAAF48
secondary
#969AC8
accent
#5FD553
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAAF48

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

Preview Lab → · Contrast checker → · Palette generator →

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