#B4B933#B4B933

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

Color values

HEX#B4B933
RGBrgb(180, 185, 51)
HSLhsl(62, 57%, 46%)
HSVhsv(62, 72%, 73%)
CMYKcmyk(2.7%, 0%, 72.4%, 27.5%)
CIE-LABlab(72.66, -17.81, 63.19)
CIE-LCHlch(72.66, 65.65, 105.74°)
OKLaboklab(75.82% -0.0554 0.1397)
OKLCHoklch(75.82% 0.15 111.6)
XYZxyz(36.7701, 44.6412, 9.8110)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B933 #3833B9
analogous
#B97B33 #B4B933 #71B933
triadic
#B4B933 #33B4B9 #B933B4
tetradic
#B4B933 #33B97B #3833B9 #B93371
square
#B4B933 #33B97B #3833B9 #B93371
split-complementary
#B4B933 #3371B9 #7B33B9
monochromatic
#575919 #858926 #B4B933 #CDD158 #DBDE88

Accessibility & contrast

On white

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

On black

9.93
#B4B933 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B933
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B933#FFFFFF#000000##000000
##B4B9331.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B119
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#C0AE9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b4b933;
/* rgb */ color: rgb(180, 185, 51);
/* oklch */ color: oklch(75.8% 0.150 111.6);
Tailwind
colors: {
  custom: {
    50: '#cecd74',
    500: '#b4b933',
    950: '#000000',
  },
}
SCSS
$custom: #b4b933;
$custom-light: #cecd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b933",
  "rgb": {
    "r": 180,
    "g": 185,
    "b": 51
  },
  "hsl": {
    "h": 62.239,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75815,
    "c": 0.1503,
    "h": 111.6
  },
  "luminance": 0.4464
}

Semantic roles & 50–950 ramp

primary
#B4B933
secondary
#8280C8
accent
#48E04D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B933

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

Preview Lab → · Contrast checker → · Palette generator →

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