#B3B128#B3B128

#B3B128 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.149 H 108.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B3B128
RGBrgb(179, 177, 40)
HSLhsl(59, 63%, 43%)
HSVhsv(59, 78%, 70%)
CMYKcmyk(0%, 1.1%, 77.7%, 29.8%)
CIE-LABlab(70.30, -14.65, 64.59)
CIE-LCHlch(70.30, 66.23, 102.78°)
OKLaboklab(73.9% -0.0475 0.1407)
OKLCHoklch(73.9% 0.149 108.7)
XYZxyz(34.6969, 41.1823, 8.1284)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B128 #282AB3
analogous
#B36C28 #B3B128 #6FB328
triadic
#B3B128 #28B3B1 #B128B3
tetradic
#B3B128 #28B36C #282AB3 #B3286F
square
#B3B128 #28B36C #282AB3 #B3286F
split-complementary
#B3B128 #286FB3 #6C28B3
monochromatic
#4F4E12 #81801D #B3B128 #D5D343 #E0DF75

Accessibility & contrast

On white

2.27
#B3B128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B3B128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B128
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B128#FFFFFF#000000##000000
##B3B1281.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C2AE34
Tritanopia (blue-blind)
#C0A598
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b3b128;
/* rgb */ color: rgb(179, 177, 40);
/* oklch */ color: oklch(73.9% 0.149 108.7);
Tailwind
colors: {
  custom: {
    50: '#cec86e',
    500: '#b3b128',
    950: '#000000',
  },
}
SCSS
$custom: #b3b128;
$custom-light: #cec86e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b128",
  "rgb": {
    "r": 179,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 59.137,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73897,
    "c": 0.14852,
    "h": 108.7
  },
  "luminance": 0.41181
}

Semantic roles & 50–950 ramp

primary
#B3B128
secondary
#6F70C8
accent
#44E641
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B128

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

Preview Lab → · Contrast checker → · Palette generator →

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