#B4B83A#B4B83A

#B4B83A is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.6% C 0.145 H 111.2°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#B4B83A
RGBrgb(180, 184, 58)
HSLhsl(62, 52%, 47%)
HSVhsv(62, 68%, 72%)
CMYKcmyk(2.2%, 0%, 68.5%, 27.8%)
CIE-LABlab(72.42, -16.95, 60.40)
CIE-LCHlch(72.42, 62.73, 105.67°)
OKLaboklab(75.64% -0.0523 0.135)
OKLCHoklch(75.64% 0.145 111.2)
XYZxyz(36.7278, 44.2907, 10.6164)
Luminance0.4429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B83A #3E3AB8
analogous
#B87D3A #B4B83A #75B83A
triadic
#B4B83A #3AB4B8 #B83AB4
tetradic
#B4B83A #3AB87D #3E3AB8 #B83A75
square
#B4B83A #3AB87D #3E3AB8 #B83A75
split-complementary
#B4B83A #3A75B8 #7D3AB8
monochromatic
#595B1D #86892B #B4B83A #CACD62 #DADC90

Accessibility & contrast

On white

2.13
#B4B83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#B4B83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B83A
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B83A#FFFFFF#000000##000000
##B4B83A1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B026
Deuteranopia (green-blind)
#C7B343
Tritanopia (blue-blind)
#C0AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b83a;
/* rgb */ color: rgb(180, 184, 58);
/* oklch */ color: oklch(75.6% 0.145 111.2);
Tailwind
colors: {
  custom: {
    50: '#cecd78',
    500: '#b4b83a',
    950: '#000000',
  },
}
SCSS
$custom: #b4b83a;
$custom-light: #cecd78;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b83a",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 58
  },
  "hsl": {
    "h": 61.905,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75643,
    "c": 0.14481,
    "h": 111.2
  },
  "luminance": 0.4429
}

Semantic roles & 50–950 ramp

primary
#B4B83A
secondary
#8987C7
accent
#4CDC51
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B83A

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

Preview Lab → · Contrast checker → · Palette generator →

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