#B4B830#B4B830

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

Color values

HEX#B4B830
RGBrgb(180, 184, 48)
HSLhsl(62, 59%, 45%)
HSVhsv(62, 74%, 72%)
CMYKcmyk(2.2%, 0%, 73.9%, 27.8%)
CIE-LABlab(72.36, -17.44, 63.94)
CIE-LCHlch(72.36, 66.28, 105.26°)
OKLaboklab(75.58% -0.0547 0.1408)
OKLCHoklch(75.58% 0.151 111.2)
XYZxyz(36.4976, 44.1986, 9.4043)
Luminance0.4420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B830 #3430B8
analogous
#B87830 #B4B830 #70B830
triadic
#B4B830 #30B4B8 #B830B4
tetradic
#B4B830 #30B878 #3430B8 #B83070
square
#B4B830 #30B878 #3430B8 #B83070
split-complementary
#B4B830 #3070B8 #7830B8
monochromatic
#555717 #858723 #B4B830 #CED253 #DCDF84

Accessibility & contrast

On white

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

On black

9.84
#B4B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B830
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B830#FFFFFF#000000##000000
##B4B8301.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#C7B33B
Tritanopia (blue-blind)
#C1AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b830;
/* rgb */ color: rgb(180, 184, 48);
/* oklch */ color: oklch(75.6% 0.151 111.2);
Tailwind
colors: {
  custom: {
    50: '#cecd73',
    500: '#b4b830',
    950: '#000000',
  },
}
SCSS
$custom: #b4b830;
$custom-light: #cecd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b830",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 61.765,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75575,
    "c": 0.15101,
    "h": 111.2
  },
  "luminance": 0.44198
}

Semantic roles & 50–950 ramp

primary
#B4B830
secondary
#7E7CC8
accent
#46E24B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B830

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

Preview Lab → · Contrast checker → · Palette generator →

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