#BAAF47#BAAF47

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

Color values

HEX#BAAF47
RGBrgb(186, 175, 71)
HSLhsl(54, 45%, 50%)
HSVhsv(54, 62%, 73%)
CMYKcmyk(0%, 5.9%, 61.8%, 27.1%)
CIE-LABlab(70.56, -8.96, 53.23)
CIE-LCHlch(70.56, 53.98, 99.56°)
OKLaboklab(74.32% -0.0287 0.1217)
OKLCHoklch(74.32% 0.125 103.3)
XYZxyz(36.7184, 41.5554, 12.0469)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF47 #4752BA
analogous
#BA7547 #BAAF47 #8BBA47
triadic
#BAAF47 #47BAAF #AF47BA
tetradic
#BAAF47 #47BA75 #4752BA #BA478B
square
#BAAF47 #47BA75 #4752BA #BA478B
split-complementary
#BAAF47 #478BBA #7547BA
monochromatic
#625C25 #8E8635 #BAAF47 #CBC274 #DBD6A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAF47#FFFFFF#000000##000000
##BAAF471.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baaf47;
/* rgb */ color: rgb(186, 175, 71);
/* oklch */ color: oklch(74.3% 0.125 103.3);
Tailwind
colors: {
  custom: {
    50: '#d2c67f',
    500: '#baaf47',
    950: '#000000',
  },
}
SCSS
$custom: #baaf47;
$custom-light: #d2c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf47",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 54.261,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74315,
    "c": 0.12509,
    "h": 103.3
  },
  "luminance": 0.41554
}

Semantic roles & 50–950 ramp

primary
#BAAF47
secondary
#959AC8
accent
#5FD553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAAF47

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

Preview Lab → · Contrast checker → · Palette generator →

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