#B4BA3D#B4BA3D

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

Color values

HEX#B4BA3D
RGBrgb(180, 186, 61)
HSLhsl(63, 51%, 48%)
HSVhsv(63, 67%, 73%)
CMYKcmyk(3.2%, 0%, 67.2%, 27.1%)
CIE-LABlab(73.00, -17.79, 59.82)
CIE-LCHlch(73.00, 62.41, 106.56°)
OKLaboklab(76.11% -0.0544 0.1343)
OKLCHoklch(76.11% 0.145 112)
XYZxyz(37.2247, 45.1589, 11.1696)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA3D #433DBA
analogous
#BA813D #B4BA3D #75BA3D
triadic
#B4BA3D #3DB4BA #BA3DB4
tetradic
#B4BA3D #3DBA81 #433DBA #BA3D75
square
#B4BA3D #3DBA81 #433DBA #BA3D75
split-complementary
#B4BA3D #3D75BA #813DBA
monochromatic
#5B5E1F #878C2E #B4BA3D #C8CD67 #D9DC95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BA3D#FFFFFF#000000##000000
##B4BA3D1.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)
#C8B22B
Deuteranopia (green-blind)
#C8B546
Tritanopia (blue-blind)
#C0AFA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba3d;
/* rgb */ color: rgb(180, 186, 61);
/* oklch */ color: oklch(76.1% 0.145 112.0);
Tailwind
colors: {
  custom: {
    50: '#cece7a',
    500: '#b4ba3d',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba3d;
$custom-light: #cece7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba3d",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 61
  },
  "hsl": {
    "h": 62.88,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76109,
    "c": 0.14489,
    "h": 112
  },
  "luminance": 0.45158
}

Semantic roles & 50–950 ramp

primary
#B4BA3D
secondary
#8E8BC8
accent
#4EDA54
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B4BA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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