#B4B930#B4B930

#B4B930 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.8% C 0.152 H 111.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#B4B930
RGBrgb(180, 185, 48)
HSLhsl(62, 59%, 46%)
HSVhsv(62, 74%, 73%)
CMYKcmyk(2.7%, 0%, 74.1%, 27.5%)
CIE-LABlab(72.64, -17.95, 64.20)
CIE-LCHlch(72.64, 66.66, 105.62°)
OKLaboklab(75.8% -0.0561 0.1413)
OKLCHoklch(75.8% 0.152 111.6)
XYZxyz(36.7061, 44.6156, 9.4738)
Luminance0.4461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B930 #3530B9
analogous
#B97930 #B4B930 #6FB930
triadic
#B4B930 #30B4B9 #B930B4
tetradic
#B4B930 #30B979 #3530B9 #B9306F
square
#B4B930 #30B979 #3530B9 #B9306F
split-complementary
#B4B930 #306FB9 #7930B9
monochromatic
#555817 #858823 #B4B930 #CED354 #DCDF84

Accessibility & contrast

On white

2.12
#B4B930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.92
#B4B930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B930
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B930#FFFFFF#000000##000000
##B4B9301.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#C8B43B
Tritanopia (blue-blind)
#C1AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b930;
/* rgb */ color: rgb(180, 185, 48);
/* oklch */ color: oklch(75.8% 0.152 111.6);
Tailwind
colors: {
  custom: {
    50: '#cecd73',
    500: '#b4b930',
    950: '#000000',
  },
}
SCSS
$custom: #b4b930;
$custom-light: #cecd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b930",
  "rgb": {
    "r": 180,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 62.19,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75796,
    "c": 0.15203,
    "h": 111.6
  },
  "luminance": 0.44615
}

Semantic roles & 50–950 ramp

primary
#B4B930
secondary
#7F7CC9
accent
#46E24C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B930

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

Preview Lab → · Contrast checker → · Palette generator →

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