#BAA63D#BAA63D

#BAA63D is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.125 H 98.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#BAA63D
RGBrgb(186, 166, 61)
HSLhsl(50, 51%, 48%)
HSVhsv(50, 67%, 73%)
CMYKcmyk(0%, 10.8%, 67.2%, 27.1%)
CIE-LABlab(68.06, -4.86, 54.91)
CIE-LCHlch(68.06, 55.12, 95.06°)
OKLaboklab(72.3% -0.0182 0.1237)
OKLCHoklch(72.3% 0.125 98.4)
XYZxyz(34.7298, 38.0501, 9.9290)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA63D #3D51BA
analogous
#BA673D #BAA63D #8FBA3D
triadic
#BAA63D #3DBAA6 #A63DBA
tetradic
#BAA63D #3DBA67 #3D51BA #BA3D8F
square
#BAA63D #3DBA67 #3D51BA #BA3D8F
split-complementary
#BAA63D #3D8FBA #673DBA
monochromatic
#5E541F #8C7D2E #BAA63D #CDBD67 #DCD195

Accessibility & contrast

On white

2.44
#BAA63D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#BAA63D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA63D
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA63D#FFFFFF#000000##000000
##BAA63D1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22F
Deuteranopia (green-blind)
#BBA943
Tritanopia (blue-blind)
#C89A90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #baa63d;
/* rgb */ color: rgb(186, 166, 61);
/* oklch */ color: oklch(72.3% 0.125 98.4);
Tailwind
colors: {
  custom: {
    50: '#d2c078',
    500: '#baa63d',
    950: '#000000',
  },
}
SCSS
$custom: #baa63d;
$custom-light: #d2c078;
$custom-dark: #000000;
JSON
{
  "hex": "#baa63d",
  "rgb": {
    "r": 186,
    "g": 166,
    "b": 61
  },
  "hsl": {
    "h": 50.4,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.723,
    "c": 0.12507,
    "h": 98.4
  },
  "luminance": 0.38048
}

Semantic roles & 50–950 ramp

primary
#BAA63D
secondary
#8B95C8
accent
#64DA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA63D

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

Preview Lab → · Contrast checker → · Palette generator →

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