#B4BA3F#B4BA3F

#B4BA3F is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.1% C 0.143 H 112.1°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#B4BA3F
RGBrgb(180, 186, 63)
HSLhsl(63, 49%, 49%)
HSVhsv(63, 66%, 73%)
CMYKcmyk(3.2%, 0%, 66.1%, 27.1%)
CIE-LABlab(73.01, -17.67, 59.04)
CIE-LCHlch(73.01, 61.63, 106.66°)
OKLaboklab(76.13% -0.0539 0.133)
OKLCHoklch(76.13% 0.143 112.1)
XYZxyz(37.2796, 45.1808, 11.4586)
Luminance0.4518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA3F #453FBA
analogous
#BA833F #B4BA3F #77BA3F
triadic
#B4BA3F #3FB4BA #BA3FB4
tetradic
#B4BA3F #3FBA83 #453FBA #BA3F77
square
#B4BA3F #3FBA83 #453FBA #BA3F77
split-complementary
#B4BA3F #3F77BA #833FBA
monochromatic
#5C5F20 #888C30 #B4BA3F #C8CC6A #D9DC97

Accessibility & contrast

On white

2.09
#B4BA3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#B4BA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA3F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA3F#FFFFFF#000000##000000
##B4BA3F1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22E
Deuteranopia (green-blind)
#C8B547
Tritanopia (blue-blind)
#C0AFA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba3f;
/* rgb */ color: rgb(180, 186, 63);
/* oklch */ color: oklch(76.1% 0.143 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdce7b',
    500: '#b4ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba3f;
$custom-light: #cdce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba3f",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 62.927,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76125,
    "c": 0.14346,
    "h": 112.1
  },
  "luminance": 0.4518
}

Semantic roles & 50–950 ramp

primary
#B4BA3F
secondary
#908DC8
accent
#4FD956
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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