#BAAF37#BAAF37

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

Color values

HEX#BAAF37
RGBrgb(186, 175, 55)
HSLhsl(55, 54%, 47%)
HSVhsv(55, 70%, 73%)
CMYKcmyk(0%, 5.9%, 70.4%, 27.1%)
CIE-LABlab(70.44, -9.91, 59.74)
CIE-LCHlch(70.44, 60.56, 99.42°)
OKLaboklab(74.18% -0.0332 0.1329)
OKLCHoklch(74.18% 0.137 104)
XYZxyz(36.2708, 41.3763, 9.6896)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF37 #3742BA
analogous
#BA6E37 #BAAF37 #83BA37
triadic
#BAAF37 #37BAAF #AF37BA
tetradic
#BAAF37 #37BA6E #3742BA #BA3783
square
#BAAF37 #37BA6E #3742BA #BA3783
split-complementary
#BAAF37 #3783BA #6E37BA
monochromatic
#5C561B #8B8329 #BAAF37 #D0C65F #DED78E

Accessibility & contrast

On white

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

On black

9.27
#BAAF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAF37
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAF37#FFFFFF#000000##000000
##BAAF371.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baaf37;
/* rgb */ color: rgb(186, 175, 55);
/* oklch */ color: oklch(74.2% 0.137 104.0);
Tailwind
colors: {
  custom: {
    50: '#d2c675',
    500: '#baaf37',
    950: '#000000',
  },
}
SCSS
$custom: #baaf37;
$custom-light: #d2c675;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf37",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 54.962,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74177,
    "c": 0.13702,
    "h": 104
  },
  "luminance": 0.41375
}

Semantic roles & 50–950 ramp

primary
#BAAF37
secondary
#858AC8
accent
#56DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAAF37

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

Preview Lab → · Contrast checker → · Palette generator →

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