#BAAD3F#BAAD3F

#BAAD3F is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.8% C 0.130 H 102.5°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#BAAD3F
RGBrgb(186, 173, 63)
HSLhsl(54, 49%, 49%)
HSVhsv(54, 66%, 73%)
CMYKcmyk(0%, 7%, 66.1%, 27.1%)
CIE-LABlab(69.96, -8.43, 56.04)
CIE-LCHlch(69.96, 56.67, 98.55°)
OKLaboklab(73.81% -0.0281 0.1265)
OKLCHoklch(73.81% 0.13 102.5)
XYZxyz(36.0919, 40.6866, 10.6538)
Luminance0.4068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAD3F #3F4CBA
analogous
#BA703F #BAAD3F #8ABA3F
triadic
#BAAD3F #3FBAAD #AD3FBA
tetradic
#BAAD3F #3FBA70 #3F4CBA #BA3F8A
square
#BAAD3F #3FBA70 #3F4CBA #BA3F8A
split-complementary
#BAAD3F #3F8ABA #703FBA
monochromatic
#5F5820 #8C8230 #BAAD3F #CCC26A #DCD597

Accessibility & contrast

On white

2.30
#BAAD3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#BAAD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAD3F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAD3F#FFFFFF#000000##000000
##BAAD3F1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA831
Deuteranopia (green-blind)
#C0AE45
Tritanopia (blue-blind)
#C8A196
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #baad3f;
/* rgb */ color: rgb(186, 173, 63);
/* oklch */ color: oklch(73.8% 0.130 102.5);
Tailwind
colors: {
  custom: {
    50: '#d2c57a',
    500: '#baad3f',
    950: '#000000',
  },
}
SCSS
$custom: #baad3f;
$custom-light: #d2c57a;
$custom-dark: #000000;
JSON
{
  "hex": "#baad3f",
  "rgb": {
    "r": 186,
    "g": 173,
    "b": 63
  },
  "hsl": {
    "h": 53.659,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73811,
    "c": 0.12956,
    "h": 102.5
  },
  "luminance": 0.40685
}

Semantic roles & 50–950 ramp

primary
#BAAD3F
secondary
#8D93C8
accent
#5DD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAAD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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