#BAA23C#BAA23C

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

Color values

HEX#BAA23C
RGBrgb(186, 162, 60)
HSLhsl(49, 51%, 48%)
HSVhsv(49, 68%, 73%)
CMYKcmyk(0%, 12.9%, 67.7%, 27.1%)
CIE-LABlab(66.98, -2.79, 54.21)
CIE-LCHlch(66.98, 54.28, 92.94°)
OKLaboklab(71.45% -0.0124 0.1221)
OKLCHoklch(71.45% 0.123 95.8)
XYZxyz(33.9873, 36.6077, 9.5499)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA23C #3C54BA
analogous
#BA633C #BAA23C #93BA3C
triadic
#BAA23C #3CBAA2 #A23CBA
tetradic
#BAA23C #3CBA63 #3C54BA #BA3C93
square
#BAA23C #3CBA63 #3C54BA #BA3C93
split-complementary
#BAA23C #3C93BA #633CBA
monochromatic
#5D511E #8C7A2D #BAA23C #CEBA66 #DCCF94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA23C#FFFFFF#000000##000000
##BAA23C1.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)
#B29F2F
Deuteranopia (green-blind)
#B8A641
Tritanopia (blue-blind)
#C8968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa23c;
/* rgb */ color: rgb(186, 162, 60);
/* oklch */ color: oklch(71.4% 0.123 95.8);
Tailwind
colors: {
  custom: {
    50: '#d2bd77',
    500: '#baa23c',
    950: '#000000',
  },
}
SCSS
$custom: #baa23c;
$custom-light: #d2bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#baa23c",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 48.571,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71445,
    "c": 0.12274,
    "h": 95.8
  },
  "luminance": 0.36606
}

Semantic roles & 50–950 ramp

primary
#BAA23C
secondary
#8A96C8
accent
#68DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA23C

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

Preview Lab → · Contrast checker → · Palette generator →

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