#B3B538#B3B538

#B3B538 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.9% C 0.143 H 110.3°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#B3B538
RGBrgb(179, 181, 56)
HSLhsl(61, 53%, 46%)
HSVhsv(61, 69%, 71%)
CMYKcmyk(1.1%, 0%, 69.1%, 29%)
CIE-LABlab(71.50, -15.96, 60.21)
CIE-LCHlch(71.50, 62.29, 104.85°)
OKLaboklab(74.88% -0.0497 0.1343)
OKLCHoklch(74.88% 0.143 110.3)
XYZxyz(35.8293, 42.9180, 10.1372)
Luminance0.4292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B538 #3A38B5
analogous
#B57938 #B3B538 #75B538
triadic
#B3B538 #38B3B5 #B538B3
tetradic
#B3B538 #38B579 #3A38B5 #B53875
square
#B3B538 #38B579 #3A38B5 #B53875
split-complementary
#B3B538 #3875B5 #7938B5
monochromatic
#57581B #85862A #B3B538 #CBCD5D #DADB8C

Accessibility & contrast

On white

2.19
#B3B538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#B3B538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B538
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B538#FFFFFF#000000##000000
##B3B5381.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C4B141
Tritanopia (blue-blind)
#BFAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b3b538;
/* rgb */ color: rgb(179, 181, 56);
/* oklch */ color: oklch(74.9% 0.143 110.3);
Tailwind
colors: {
  custom: {
    50: '#cdca76',
    500: '#b3b538',
    950: '#000000',
  },
}
SCSS
$custom: #b3b538;
$custom-light: #cdca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b538",
  "rgb": {
    "r": 179,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 60.96,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74882,
    "c": 0.14324,
    "h": 110.3
  },
  "luminance": 0.42917
}

Semantic roles & 50–950 ramp

primary
#B3B538
secondary
#8483C6
accent
#4CDC4E
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B3B538

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

Preview Lab → · Contrast checker → · Palette generator →

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