#B3B52F#B3B52F

#B3B52F is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.149 H 110.4°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#B3B52F
RGBrgb(179, 181, 47)
HSLhsl(61, 59%, 45%)
HSVhsv(61, 74%, 71%)
CMYKcmyk(1.1%, 0%, 74%, 29%)
CIE-LABlab(71.44, -16.40, 63.39)
CIE-LCHlch(71.44, 65.47, 104.51°)
OKLaboklab(74.82% -0.0518 0.1394)
OKLCHoklch(74.82% 0.149 110.4)
XYZxyz(35.6286, 42.8377, 9.0805)
Luminance0.4284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B52F #312FB5
analogous
#B5742F #B3B52F #70B52F
triadic
#B3B52F #2FB3B5 #B52FB3
tetradic
#B3B52F #2FB574 #312FB5 #B52F70
square
#B3B52F #2FB574 #312FB5 #B52F70
split-complementary
#B3B52F #2F70B5 #742FB5
monochromatic
#535416 #838422 #B3B52F #D0D150 #DDDE80

Accessibility & contrast

On white

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

On black

9.57
#B3B52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B52F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B52F#FFFFFF#000000##000000
##B3B52F1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD12
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#C0A99C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b3b52f;
/* rgb */ color: rgb(179, 181, 47);
/* oklch */ color: oklch(74.8% 0.149 110.4);
Tailwind
colors: {
  custom: {
    50: '#cdca72',
    500: '#b3b52f',
    950: '#000000',
  },
}
SCSS
$custom: #b3b52f;
$custom-light: #cdca72;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b52f",
  "rgb": {
    "r": 179,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 60.896,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74821,
    "c": 0.14875,
    "h": 110.4
  },
  "luminance": 0.42837
}

Semantic roles & 50–950 ramp

primary
#B3B52F
secondary
#7A79C7
accent
#46E248
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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