#BAA247#BAA247

#BAA247 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.6% C 0.114 H 94.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#BAA247
RGBrgb(186, 162, 71)
HSLhsl(47, 45%, 50%)
HSVhsv(47, 62%, 73%)
CMYKcmyk(0%, 12.9%, 61.8%, 27.1%)
CIE-LABlab(67.08, -2.09, 49.41)
CIE-LCHlch(67.08, 49.45, 92.42°)
OKLaboklab(71.55% -0.0091 0.1136)
OKLCHoklch(71.55% 0.114 94.6)
XYZxyz(34.3089, 36.7364, 11.2437)
Luminance0.3674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA247 #475FBA
analogous
#BA6847 #BAA247 #99BA47
triadic
#BAA247 #47BAA2 #A247BA
tetradic
#BAA247 #47BA68 #475FBA #BA4799
square
#BAA247 #47BA68 #475FBA #BA4799
split-complementary
#BAA247 #4799BA #6847BA
monochromatic
#625525 #8E7C35 #BAA247 #CBB874 #DBCFA0

Accessibility & contrast

On white

2.52
#BAA247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#BAA247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA247
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA247#FFFFFF#000000##000000
##BAA2471.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3D
Deuteranopia (green-blind)
#B8A64B
Tritanopia (blue-blind)
#C8968E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa247;
/* rgb */ color: rgb(186, 162, 71);
/* oklch */ color: oklch(71.6% 0.114 94.6);
Tailwind
colors: {
  custom: {
    50: '#d2bd7e',
    500: '#baa247',
    950: '#000000',
  },
}
SCSS
$custom: #baa247;
$custom-light: #d2bd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#baa247",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 71
  },
  "hsl": {
    "h": 47.478,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71553,
    "c": 0.11396,
    "h": 94.6
  },
  "luminance": 0.36735
}

Semantic roles & 50–950 ramp

primary
#BAA247
secondary
#959FC8
accent
#6ED553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #BAA247

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

Preview Lab → · Contrast checker → · Palette generator →

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