#B3B028#B3B028

#B3B028 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.7% C 0.148 H 108.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B3B028
RGBrgb(179, 176, 40)
HSLhsl(59, 63%, 43%)
HSVhsv(59, 78%, 70%)
CMYKcmyk(0%, 1.7%, 77.7%, 29.8%)
CIE-LABlab(70.03, -14.14, 64.34)
CIE-LCHlch(70.03, 65.87, 102.40°)
OKLaboklab(73.68% -0.0461 0.1402)
OKLCHoklch(73.68% 0.148 108.2)
XYZxyz(34.5001, 40.7887, 8.0628)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B028 #282BB3
analogous
#B36A28 #B3B028 #70B328
triadic
#B3B028 #28B3B0 #B028B3
tetradic
#B3B028 #28B36A #282BB3 #B32870
square
#B3B028 #28B36A #282BB3 #B32870
split-complementary
#B3B028 #2870B3 #6A28B3
monochromatic
#4F4E12 #817F1D #B3B028 #D5D243 #E0DE75

Accessibility & contrast

On white

2.29
#B3B028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#B3B028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B028
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B028#FFFFFF#000000##000000
##B3B0281.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#C0A497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b3b028;
/* rgb */ color: rgb(179, 176, 40);
/* oklch */ color: oklch(73.7% 0.148 108.2);
Tailwind
colors: {
  custom: {
    50: '#cec76e',
    500: '#b3b028',
    950: '#000000',
  },
}
SCSS
$custom: #b3b028;
$custom-light: #cec76e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b028",
  "rgb": {
    "r": 179,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 58.705,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73677,
    "c": 0.14757,
    "h": 108.2
  },
  "luminance": 0.40788
}

Semantic roles & 50–950 ramp

primary
#B3B028
secondary
#6F71C8
accent
#45E641
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B028

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

Preview Lab → · Contrast checker → · Palette generator →

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