#BAAF3B#BAAF3B

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

Color values

HEX#BAAF3B
RGBrgb(186, 175, 59)
HSLhsl(55, 52%, 48%)
HSVhsv(55, 68%, 73%)
CMYKcmyk(0%, 5.9%, 68.3%, 27.1%)
CIE-LABlab(70.47, -9.70, 58.20)
CIE-LCHlch(70.47, 59.01, 99.46°)
OKLaboklab(74.21% -0.0322 0.1304)
OKLCHoklch(74.21% 0.134 103.9)
XYZxyz(36.3706, 41.4162, 10.2151)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF3B #3B46BA
analogous
#BA6F3B #BAAF3B #85BA3B
triadic
#BAAF3B #3BBAAF #AF3BBA
tetradic
#BAAF3B #3BBA6F #3B46BA #BA3B85
square
#BAAF3B #3BBA6F #3B46BA #BA3B85
split-complementary
#BAAF3B #3B85BA #6F3BBA
monochromatic
#5D581E #8C832C #BAAF3B #CEC564 #DDD693

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAF3B#FFFFFF#000000##000000
##BAAF3B1.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)
#BEA92A
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#C8A398
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baaf3b;
/* rgb */ color: rgb(186, 175, 59);
/* oklch */ color: oklch(74.2% 0.134 103.9);
Tailwind
colors: {
  custom: {
    50: '#d2c678',
    500: '#baaf3b',
    950: '#000000',
  },
}
SCSS
$custom: #baaf3b;
$custom-light: #d2c678;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf3b",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 59
  },
  "hsl": {
    "h": 54.803,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74207,
    "c": 0.13428,
    "h": 103.9
  },
  "luminance": 0.41415
}

Semantic roles & 50–950 ramp

primary
#BAAF3B
secondary
#898EC8
accent
#59DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BAAF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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