#B3B726#B3B726

#B3B726 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.2% C 0.155 H 111.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#B3B726
RGBrgb(179, 183, 38)
HSLhsl(62, 66%, 43%)
HSVhsv(62, 79%, 72%)
CMYKcmyk(2.2%, 0%, 79.2%, 28.2%)
CIE-LABlab(71.95, -17.77, 66.65)
CIE-LCHlch(71.95, 68.98, 104.93°)
OKLaboklab(75.21% -0.0564 0.1448)
OKLCHoklch(75.21% 0.155 111.3)
XYZxyz(35.8750, 43.5916, 8.3576)
Luminance0.4359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B726 #2A26B7
analogous
#B77226 #B3B726 #6AB726
triadic
#B3B726 #26B3B7 #B726B3
tetradic
#B3B726 #26B772 #2A26B7 #B7266A
square
#B3B726 #26B772 #2A26B7 #B7266A
split-complementary
#B3B726 #266AB7 #7226B7
monochromatic
#505211 #81841B #B3B726 #D4D842 #DFE275

Accessibility & contrast

On white

2.16
#B3B726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#B3B726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B726
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B726#FFFFFF#000000##000000
##B3B7261.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#C7B234
Tritanopia (blue-blind)
#C0AB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b3b726;
/* rgb */ color: rgb(179, 183, 38);
/* oklch */ color: oklch(75.2% 0.155 111.3);
Tailwind
colors: {
  custom: {
    50: '#cecc6e',
    500: '#b3b726',
    950: '#000000',
  },
}
SCSS
$custom: #b3b726;
$custom-light: #cecc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b726",
  "rgb": {
    "r": 179,
    "g": 183,
    "b": 38
  },
  "hsl": {
    "h": 61.655,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.75214,
    "c": 0.15534,
    "h": 111.3
  },
  "luminance": 0.43591
}

Semantic roles & 50–950 ramp

primary
#B3B726
secondary
#726FCA
accent
#3FE944
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B726

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

Preview Lab → · Contrast checker → · Palette generator →

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