#B4BA2C#B4BA2C

#B4BA2C is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.0% C 0.155 H 112.1°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#B4BA2C
RGBrgb(180, 186, 44)
HSLhsl(63, 62%, 45%)
HSVhsv(63, 76%, 73%)
CMYKcmyk(3.2%, 0%, 76.3%, 27.1%)
CIE-LABlab(72.89, -18.62, 65.73)
CIE-LCHlch(72.89, 68.32, 105.82°)
OKLaboklab(76% -0.0583 0.1439)
OKLCHoklch(76% 0.155 112.1)
XYZxyz(36.8372, 45.0039, 9.1285)
Luminance0.4500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA2C #322CBA
analogous
#BA792C #B4BA2C #6DBA2C
triadic
#B4BA2C #2CB4BA #BA2CB4
tetradic
#B4BA2C #2CBA79 #322CBA #BA2C6D
square
#B4BA2C #2CBA79 #322CBA #BA2C6D
split-complementary
#B4BA2C #2C6DBA #792CBA
monochromatic
#545715 #848920 #B4BA2C #CFD54E #DDE180

Accessibility & contrast

On white

2.10
#B4BA2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#B4BA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA2C
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA2C#FFFFFF#000000##000000
##B4BA2C1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B104
Deuteranopia (green-blind)
#C9B538
Tritanopia (blue-blind)
#C1AEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba2c;
/* rgb */ color: rgb(180, 186, 44);
/* oklch */ color: oklch(76.0% 0.155 112.1);
Tailwind
colors: {
  custom: {
    50: '#cece71',
    500: '#b4ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba2c;
$custom-light: #cece71;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba2c",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 62.535,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75995,
    "c": 0.15521,
    "h": 112.1
  },
  "luminance": 0.45003
}

Semantic roles & 50–950 ramp

primary
#B4BA2C
secondary
#7C78CA
accent
#43E54A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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