#BAA63F#BAA63F

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

Color values

HEX#BAA63F
RGBrgb(186, 166, 63)
HSLhsl(50, 49%, 49%)
HSVhsv(50, 66%, 73%)
CMYKcmyk(0%, 10.8%, 66.1%, 27.1%)
CIE-LABlab(68.07, -4.74, 54.07)
CIE-LCHlch(68.07, 54.28, 95.01°)
OKLaboklab(72.32% -0.0176 0.1223)
OKLCHoklch(72.32% 0.124 98.2)
XYZxyz(34.7847, 38.0721, 10.2181)
Luminance0.3807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA63F #3F53BA
analogous
#BA693F #BAA63F #91BA3F
triadic
#BAA63F #3FBAA6 #A63FBA
tetradic
#BAA63F #3FBA69 #3F53BA #BA3F91
square
#BAA63F #3FBA69 #3F53BA #BA3F91
split-complementary
#BAA63F #3F91BA #693FBA
monochromatic
#5F5420 #8C7D30 #BAA63F #CCBC6A #DCD197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA63F#FFFFFF#000000##000000
##BAA63F1.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)
#B6A232
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#C89A91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #baa63f;
/* rgb */ color: rgb(186, 166, 63);
/* oklch */ color: oklch(72.3% 0.124 98.2);
Tailwind
colors: {
  custom: {
    50: '#d2c079',
    500: '#baa63f',
    950: '#000000',
  },
}
SCSS
$custom: #baa63f;
$custom-light: #d2c079;
$custom-dark: #000000;
JSON
{
  "hex": "#baa63f",
  "rgb": {
    "r": 186,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 50.244,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72318,
    "c": 0.12356,
    "h": 98.2
  },
  "luminance": 0.3807
}

Semantic roles & 50–950 ramp

primary
#BAA63F
secondary
#8D97C8
accent
#65D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAA63F

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

Preview Lab → · Contrast checker → · Palette generator →

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