#B3B52E#B3B52E

#B3B52E 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#B3B52E
RGBrgb(179, 181, 46)
HSLhsl(61, 59%, 45%)
HSVhsv(61, 75%, 71%)
CMYKcmyk(1.1%, 0%, 74.6%, 29%)
CIE-LABlab(71.44, -16.45, 63.72)
CIE-LCHlch(71.44, 65.80, 104.47°)
OKLaboklab(74.81% -0.052 0.14)
OKLCHoklch(74.81% 0.149 110.4)
XYZxyz(35.6087, 42.8297, 8.9754)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B52E #302EB5
analogous
#B5742E #B3B52E #70B52E
triadic
#B3B52E #2EB3B5 #B52EB3
tetradic
#B3B52E #2EB574 #302EB5 #B52E70
square
#B3B52E #2EB574 #302EB5 #B52E70
split-complementary
#B3B52E #2E70B5 #742EB5
monochromatic
#525315 #838422 #B3B52E #D0D24E #DDDE7F

Accessibility & contrast

On white

2.20
#B3B52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3B52E#FFFFFF#000000##000000
##B3B52E1.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0F
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#C0A99B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b3b52e;
/* rgb */ color: rgb(179, 181, 46);
/* oklch */ color: oklch(74.8% 0.149 110.4);
Tailwind
colors: {
  custom: {
    50: '#cdca71',
    500: '#b3b52e',
    950: '#000000',
  },
}
SCSS
$custom: #b3b52e;
$custom-light: #cdca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b52e",
  "rgb": {
    "r": 179,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 60.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74814,
    "c": 0.14931,
    "h": 110.4
  },
  "luminance": 0.42829
}

Semantic roles & 50–950 ramp

primary
#B3B52E
secondary
#7978C7
accent
#45E347
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B52E

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

Preview Lab → · Contrast checker → · Palette generator →

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