#BAA23B#BAA23B

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

Color values

HEX#BAA23B
RGBrgb(186, 162, 59)
HSLhsl(49, 52%, 48%)
HSVhsv(49, 68%, 73%)
CMYKcmyk(0%, 12.9%, 68.3%, 27.1%)
CIE-LABlab(66.97, -2.85, 54.63)
CIE-LCHlch(66.97, 54.70, 92.98°)
OKLaboklab(71.44% -0.0127 0.1228)
OKLCHoklch(71.44% 0.123 95.9)
XYZxyz(33.9611, 36.5973, 9.4120)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA23B #3B53BA
analogous
#BA623B #BAA23B #93BA3B
triadic
#BAA23B #3BBAA2 #A23BBA
tetradic
#BAA23B #3BBA62 #3B53BA #BA3B93
square
#BAA23B #3BBA62 #3B53BA #BA3B93
split-complementary
#BAA23B #3B93BA #623BBA
monochromatic
#5D511E #8C7A2C #BAA23B #CEBA64 #DDCF93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA23B#FFFFFF#000000##000000
##BAA23B1.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)
#B29F2D
Deuteranopia (green-blind)
#B8A641
Tritanopia (blue-blind)
#C9968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa23b;
/* rgb */ color: rgb(186, 162, 59);
/* oklch */ color: oklch(71.4% 0.123 95.9);
Tailwind
colors: {
  custom: {
    50: '#d2bd76',
    500: '#baa23b',
    950: '#000000',
  },
}
SCSS
$custom: #baa23b;
$custom-light: #d2bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#baa23b",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 48.661,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71437,
    "c": 0.12347,
    "h": 95.9
  },
  "luminance": 0.36596
}

Semantic roles & 50–950 ramp

primary
#BAA23B
secondary
#8995C8
accent
#67DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA23B

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

Preview Lab → · Contrast checker → · Palette generator →

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