#BAA24F#BAA24F

#BAA24F is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.107 H 93.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#BAA24F
RGBrgb(186, 162, 79)
HSLhsl(47, 44%, 52%)
HSVhsv(47, 58%, 73%)
CMYKcmyk(0%, 12.9%, 57.5%, 27.1%)
CIE-LABlab(67.16, -1.50, 45.70)
CIE-LCHlch(67.16, 45.72, 91.88°)
OKLaboklab(71.65% -0.0064 0.1066)
OKLCHoklch(71.65% 0.107 93.4)
XYZxyz(34.5827, 36.8459, 12.6860)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA24F #4F67BA
analogous
#BA6D4F #BAA24F #9DBA4F
triadic
#BAA24F #4FBAA2 #A24FBA
tetradic
#BAA24F #4FBA6D #4F67BA #BA4F9D
square
#BAA24F #4FBA6D #4F67BA #BA4F9D
split-complementary
#BAA24F #4F9DBA #6D4FBA
monochromatic
#665828 #927E39 #BAA24F #CBB97B #DCD0A7

Accessibility & contrast

On white

2.51
#BAA24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#BAA24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA24F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA24F#FFFFFF#000000##000000
##BAA24F1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F47
Deuteranopia (green-blind)
#B7A753
Tritanopia (blue-blind)
#C8978F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa24f;
/* rgb */ color: rgb(186, 162, 79);
/* oklch */ color: oklch(71.6% 0.107 93.4);
Tailwind
colors: {
  custom: {
    50: '#d1bd83',
    500: '#baa24f',
    950: '#000000',
  },
}
SCSS
$custom: #baa24f;
$custom-light: #d1bd83;
$custom-dark: #000000;
JSON
{
  "hex": "#baa24f",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 79
  },
  "hsl": {
    "h": 46.542,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.71645,
    "c": 0.10683,
    "h": 93.4
  },
  "luminance": 0.36844
}

Semantic roles & 50–950 ramp

primary
#BAA24F
secondary
#9BA5CA
accent
#71D354
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAA24F

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

Preview Lab → · Contrast checker → · Palette generator →

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