#B3B827#B3B827

#B3B827 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.4% C 0.156 H 111.7°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#B3B827
RGBrgb(179, 184, 39)
HSLhsl(62, 65%, 44%)
HSVhsv(62, 79%, 72%)
CMYKcmyk(2.7%, 0%, 78.8%, 27.8%)
CIE-LABlab(72.24, -18.24, 66.61)
CIE-LCHlch(72.24, 69.06, 105.31°)
OKLaboklab(75.44% -0.0576 0.1449)
OKLCHoklch(75.44% 0.156 111.7)
XYZxyz(36.0984, 44.0121, 8.5127)
Luminance0.4401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B827 #2C27B8
analogous
#B87427 #B3B827 #6AB827
triadic
#B3B827 #27B3B8 #B827B3
tetradic
#B3B827 #27B874 #2C27B8 #B8276A
square
#B3B827 #27B874 #2C27B8 #B8276A
split-complementary
#B3B827 #276AB8 #7427B8
monochromatic
#515312 #82861C #B3B827 #D2D845 #DFE277

Accessibility & contrast

On white

2.14
#B3B827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#B3B827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B827
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B827#FFFFFF#000000##000000
##B3B8271.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF00
Deuteranopia (green-blind)
#C7B334
Tritanopia (blue-blind)
#C0AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b3b827;
/* rgb */ color: rgb(179, 184, 39);
/* oklch */ color: oklch(75.4% 0.156 111.7);
Tailwind
colors: {
  custom: {
    50: '#cecd6f',
    500: '#b3b827',
    950: '#000000',
  },
}
SCSS
$custom: #b3b827;
$custom-light: #cecd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b827",
  "rgb": {
    "r": 179,
    "g": 184,
    "b": 39
  },
  "hsl": {
    "h": 62.069,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75441,
    "c": 0.15588,
    "h": 111.7
  },
  "luminance": 0.44011
}

Semantic roles & 50–950 ramp

primary
#B3B827
secondary
#7471CA
accent
#40E846
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B827

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

Preview Lab → · Contrast checker → · Palette generator →

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