#BAAD2F#BAAD2F

#BAAD2F is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.7% C 0.140 H 103.3°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#BAAD2F
RGBrgb(186, 173, 47)
HSLhsl(54, 60%, 46%)
HSVhsv(54, 75%, 73%)
CMYKcmyk(0%, 7%, 74.7%, 27.1%)
CIE-LABlab(69.85, -9.25, 62.10)
CIE-LCHlch(69.85, 62.78, 98.47°)
OKLaboklab(73.69% -0.0321 0.1364)
OKLCHoklch(73.69% 0.14 103.3)
XYZxyz(35.7080, 40.5330, 8.6315)
Luminance0.4053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAD2F #2F3CBA
analogous
#BA672F #BAAD2F #82BA2F
triadic
#BAAD2F #2FBAAD #AD2FBA
tetradic
#BAAD2F #2FBA67 #2F3CBA #BA2F82
square
#BAAD2F #2FBA67 #2F3CBA #BA2F82
split-complementary
#BAAD2F #2F82BA #672FBA
monochromatic
#585216 #898023 #BAAD2F #D3C753 #E0D784

Accessibility & contrast

On white

2.31
#BAAD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#BAAD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAD2F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAD2F#FFFFFF#000000##000000
##BAAD2F1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA716
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#C8A195
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #baad2f;
/* rgb */ color: rgb(186, 173, 47);
/* oklch */ color: oklch(73.7% 0.140 103.3);
Tailwind
colors: {
  custom: {
    50: '#d3c571',
    500: '#baad2f',
    950: '#000000',
  },
}
SCSS
$custom: #baad2f;
$custom-light: #d3c571;
$custom-dark: #000000;
JSON
{
  "hex": "#baad2f",
  "rgb": {
    "r": 186,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 54.388,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7369,
    "c": 0.14017,
    "h": 103.3
  },
  "luminance": 0.40531
}

Semantic roles & 50–950 ramp

primary
#BAAD2F
secondary
#7C83C9
accent
#54E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAAD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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