#B3B828#B3B828

#B3B828 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.155 H 111.7°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B3B828
RGBrgb(179, 184, 40)
HSLhsl(62, 64%, 44%)
HSVhsv(62, 78%, 72%)
CMYKcmyk(2.7%, 0%, 78.3%, 27.8%)
CIE-LABlab(72.24, -18.20, 66.33)
CIE-LCHlch(72.24, 68.78, 105.34°)
OKLaboklab(75.45% -0.0574 0.1444)
OKLCHoklch(75.45% 0.155 111.7)
XYZxyz(36.1152, 44.0188, 8.6011)
Luminance0.4402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B828 #2D28B8
analogous
#B87528 #B3B828 #6BB828
triadic
#B3B828 #28B3B8 #B828B3
tetradic
#B3B828 #28B875 #2D28B8 #B8286B
square
#B3B828 #28B875 #2D28B8 #B8286B
split-complementary
#B3B828 #286BB8 #7528B8
monochromatic
#515312 #82861D #B3B828 #D2D746 #DEE279

Accessibility & contrast

On white

2.14
#B3B828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#B3B828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B828
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B828#FFFFFF#000000##000000
##B3B8281.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C7B335
Tritanopia (blue-blind)
#C0AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b3b828;
/* rgb */ color: rgb(179, 184, 40);
/* oklch */ color: oklch(75.4% 0.155 111.7);
Tailwind
colors: {
  custom: {
    50: '#cecd6f',
    500: '#b3b828',
    950: '#000000',
  },
}
SCSS
$custom: #b3b828;
$custom-light: #cecd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b828",
  "rgb": {
    "r": 179,
    "g": 184,
    "b": 40
  },
  "hsl": {
    "h": 62.083,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.75446,
    "c": 0.15542,
    "h": 111.7
  },
  "luminance": 0.44018
}

Semantic roles & 50–950 ramp

primary
#B3B828
secondary
#7572CA
accent
#41E746
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B828

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

Preview Lab → · Contrast checker → · Palette generator →

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