#BAAF39#BAAF39

#BAAF39 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.2% C 0.136 H 103.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#BAAF39
RGBrgb(186, 175, 57)
HSLhsl(55, 53%, 48%)
HSVhsv(55, 69%, 73%)
CMYKcmyk(0%, 5.9%, 69.4%, 27.1%)
CIE-LABlab(70.45, -9.81, 58.98)
CIE-LCHlch(70.45, 59.79, 99.44°)
OKLaboklab(74.19% -0.0327 0.1317)
OKLCHoklch(74.19% 0.136 103.9)
XYZxyz(36.3197, 41.3959, 9.9472)
Luminance0.4139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF39 #3944BA
analogous
#BA6F39 #BAAF39 #84BA39
triadic
#BAAF39 #39BAAF #AF39BA
tetradic
#BAAF39 #39BA6F #3944BA #BA3984
square
#BAAF39 #39BA6F #3944BA #BA3984
split-complementary
#BAAF39 #3984BA #6F39BA
monochromatic
#5C571C #8B832B #BAAF39 #CFC561 #DDD790

Accessibility & contrast

On white

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

On black

9.28
#BAAF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAF39
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAF39#FFFFFF#000000##000000
##BAAF391.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA927
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#C8A397
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baaf39;
/* rgb */ color: rgb(186, 175, 57);
/* oklch */ color: oklch(74.2% 0.136 103.9);
Tailwind
colors: {
  custom: {
    50: '#d2c677',
    500: '#baaf39',
    950: '#000000',
  },
}
SCSS
$custom: #baaf39;
$custom-light: #d2c677;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf39",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 54.884,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74192,
    "c": 0.13567,
    "h": 103.9
  },
  "luminance": 0.41394
}

Semantic roles & 50–950 ramp

primary
#BAAF39
secondary
#878CC8
accent
#58DC4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAAF39

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

Preview Lab → · Contrast checker → · Palette generator →

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