#B4A63A#B4A63A

#B4A63A is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.7% C 0.127 H 101.9°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#B4A63A
RGBrgb(180, 166, 58)
HSLhsl(53, 51%, 47%)
HSVhsv(53, 68%, 71%)
CMYKcmyk(0%, 7.8%, 67.8%, 29.4%)
CIE-LABlab(67.49, -7.65, 55.40)
CIE-LCHlch(67.49, 55.93, 97.86°)
OKLaboklab(71.71% -0.0261 0.1245)
OKLCHoklch(71.71% 0.127 101.9)
XYZxyz(33.2237, 37.2826, 9.4484)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A63A #3A48B4
analogous
#B4693A #B4A63A #85B43A
triadic
#B4A63A #3AB4A6 #A63AB4
tetradic
#B4A63A #3AB469 #3A48B4 #B43A85
square
#B4A63A #3AB469 #3A48B4 #B43A85
split-complementary
#B4A63A #3A85B4 #693AB4
monochromatic
#57511C #867B2B #B4A63A #CCBF60 #DBD28E

Accessibility & contrast

On white

2.48
#B4A63A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#B4A63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A63A
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A63A#FFFFFF#000000##000000
##B4A63A1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12B
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#C19A90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a63a;
/* rgb */ color: rgb(180, 166, 58);
/* oklch */ color: oklch(71.7% 0.127 101.9);
Tailwind
colors: {
  custom: {
    50: '#cec076',
    500: '#b4a63a',
    950: '#000000',
  },
}
SCSS
$custom: #b4a63a;
$custom-light: #cec076;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a63a",
  "rgb": {
    "r": 180,
    "g": 166,
    "b": 58
  },
  "hsl": {
    "h": 53.115,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71711,
    "c": 0.12719,
    "h": 101.9
  },
  "luminance": 0.37281
}

Semantic roles & 50–950 ramp

primary
#B4A63A
secondary
#858CC5
accent
#5DDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A63A

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

Preview Lab → · Contrast checker → · Palette generator →

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