#BAA63B#BAA63B

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

Color values

HEX#BAA63B
RGBrgb(186, 166, 59)
HSLhsl(51, 52%, 48%)
HSVhsv(51, 68%, 73%)
CMYKcmyk(0%, 10.8%, 68.3%, 27.1%)
CIE-LABlab(68.04, -4.97, 55.73)
CIE-LCHlch(68.04, 55.95, 95.10°)
OKLaboklab(72.28% -0.0188 0.1252)
OKLCHoklch(72.28% 0.127 98.5)
XYZxyz(34.6769, 38.0290, 9.6506)
Luminance0.3803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA63B #3B4FBA
analogous
#BA663B #BAA63B #8EBA3B
triadic
#BAA63B #3BBAA6 #A63BBA
tetradic
#BAA63B #3BBA66 #3B4FBA #BA3B8E
square
#BAA63B #3BBA66 #3B4FBA #BA3B8E
split-complementary
#BAA63B #3B8EBA #663BBA
monochromatic
#5D531E #8C7D2C #BAA63B #CEBD64 #DDD193

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA63B#FFFFFF#000000##000000
##BAA63B1.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)
#B6A22D
Deuteranopia (green-blind)
#BBA941
Tritanopia (blue-blind)
#C89A90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #baa63b;
/* rgb */ color: rgb(186, 166, 59);
/* oklch */ color: oklch(72.3% 0.127 98.5);
Tailwind
colors: {
  custom: {
    50: '#d2c077',
    500: '#baa63b',
    950: '#000000',
  },
}
SCSS
$custom: #baa63b;
$custom-light: #d2c077;
$custom-dark: #000000;
JSON
{
  "hex": "#baa63b",
  "rgb": {
    "r": 186,
    "g": 166,
    "b": 59
  },
  "hsl": {
    "h": 50.551,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72282,
    "c": 0.12655,
    "h": 98.5
  },
  "luminance": 0.38027
}

Semantic roles & 50–950 ramp

primary
#BAA63B
secondary
#8993C8
accent
#63DB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA63B

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

Preview Lab → · Contrast checker → · Palette generator →

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