#B3B72E#B3B72E

#B3B72E is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.3% C 0.151 H 111.2°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#B3B72E
RGBrgb(179, 183, 46)
HSLhsl(62, 60%, 45%)
HSVhsv(62, 75%, 72%)
CMYKcmyk(2.2%, 0%, 74.9%, 28.2%)
CIE-LABlab(71.99, -17.46, 64.23)
CIE-LCHlch(71.99, 66.56, 105.20°)
OKLaboklab(75.26% -0.0548 0.1411)
OKLCHoklch(75.26% 0.151 111.2)
XYZxyz(36.0183, 43.6489, 9.1120)
Luminance0.4365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B72E #322EB7
analogous
#B7772E #B3B72E #6EB72E
triadic
#B3B72E #2EB3B7 #B72EB3
tetradic
#B3B72E #2EB777 #322EB7 #B72E6E
square
#B3B72E #2EB777 #322EB7 #B72E6E
split-complementary
#B3B72E #2E6EB7 #772EB7
monochromatic
#535515 #838622 #B3B72E #CFD34F #DCDF80

Accessibility & contrast

On white

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

On black

9.73
#B3B72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B72E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B72E#FFFFFF#000000##000000
##B3B72E1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3b72e;
/* rgb */ color: rgb(179, 183, 46);
/* oklch */ color: oklch(75.3% 0.151 111.2);
Tailwind
colors: {
  custom: {
    50: '#cdcc72',
    500: '#b3b72e',
    950: '#000000',
  },
}
SCSS
$custom: #b3b72e;
$custom-light: #cdcc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b72e",
  "rgb": {
    "r": 179,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 61.752,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75257,
    "c": 0.15134,
    "h": 111.2
  },
  "luminance": 0.43648
}

Semantic roles & 50–950 ramp

primary
#B3B72E
secondary
#7B79C8
accent
#45E349
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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