#B4BA3E#B4BA3E

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

Color values

HEX#B4BA3E
RGBrgb(180, 186, 62)
HSLhsl(63, 50%, 49%)
HSVhsv(63, 67%, 73%)
CMYKcmyk(3.2%, 0%, 66.7%, 27.1%)
CIE-LABlab(73.00, -17.73, 59.43)
CIE-LCHlch(73.00, 62.02, 106.61°)
OKLaboklab(76.12% -0.0541 0.1336)
OKLCHoklch(76.12% 0.144 112.1)
XYZxyz(37.2519, 45.1698, 11.3128)
Luminance0.4517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA3E #443EBA
analogous
#BA823E #B4BA3E #76BA3E
triadic
#B4BA3E #3EB4BA #BA3EB4
tetradic
#B4BA3E #3EBA82 #443EBA #BA3E76
square
#B4BA3E #3EBA82 #443EBA #BA3E76
split-complementary
#B4BA3E #3E76BA #823EBA
monochromatic
#5B5E1F #888C2F #B4BA3E #C8CD68 #D9DC96

Accessibility & contrast

On white

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

On black

10.03
#B4BA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA3E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA3E#FFFFFF#000000##000000
##B4BA3E1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4ba3e;
/* rgb */ color: rgb(180, 186, 62);
/* oklch */ color: oklch(76.1% 0.144 112.1);
Tailwind
colors: {
  custom: {
    50: '#cece7a',
    500: '#b4ba3e',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba3e;
$custom-light: #cece7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba3e",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 62
  },
  "hsl": {
    "h": 62.903,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.76117,
    "c": 0.14418,
    "h": 112.1
  },
  "luminance": 0.45169
}

Semantic roles & 50–950 ramp

primary
#B4BA3E
secondary
#8F8CC8
accent
#4EDA55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4BA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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