#BAA23A#BAA23A

#BAA23A is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.124 H 96.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#BAA23A
RGBrgb(186, 162, 58)
HSLhsl(49, 52%, 48%)
HSVhsv(49, 69%, 73%)
CMYKcmyk(0%, 12.9%, 68.8%, 27.1%)
CIE-LABlab(66.97, -2.90, 55.04)
CIE-LCHlch(66.97, 55.12, 93.02°)
OKLaboklab(71.43% -0.0129 0.1235)
OKLCHoklch(71.43% 0.124 96)
XYZxyz(33.9354, 36.5870, 9.2767)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA23A #3A52BA
analogous
#BA623A #BAA23A #92BA3A
triadic
#BAA23A #3ABAA2 #A23ABA
tetradic
#BAA23A #3ABA62 #3A52BA #BA3A92
square
#BAA23A #3ABA62 #3A52BA #BA3A92
split-complementary
#BAA23A #3A92BA #623ABA
monochromatic
#5D511D #8B792B #BAA23A #CEBA63 #DDCF92

Accessibility & contrast

On white

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

On black

8.32
#BAA23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA23A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA23A#FFFFFF#000000##000000
##BAA23A1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F2C
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#C9968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa23a;
/* rgb */ color: rgb(186, 162, 58);
/* oklch */ color: oklch(71.4% 0.124 96.0);
Tailwind
colors: {
  custom: {
    50: '#d2bd76',
    500: '#baa23a',
    950: '#000000',
  },
}
SCSS
$custom: #baa23a;
$custom-light: #d2bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#baa23a",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 48.75,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71428,
    "c": 0.1242,
    "h": 96
  },
  "luminance": 0.36585
}

Semantic roles & 50–950 ramp

primary
#BAA23A
secondary
#8894C8
accent
#67DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA23A

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

Preview Lab → · Contrast checker → · Palette generator →

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