#B4B827#B4B827

#B4B827 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.5% C 0.156 H 111.3°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#B4B827
RGBrgb(180, 184, 39)
HSLhsl(62, 65%, 44%)
HSVhsv(62, 79%, 72%)
CMYKcmyk(2.2%, 0%, 78.8%, 27.8%)
CIE-LABlab(72.32, -17.81, 66.71)
CIE-LCHlch(72.32, 69.05, 104.95°)
OKLaboklab(75.52% -0.0564 0.145)
OKLCHoklch(75.52% 0.156 111.3)
XYZxyz(36.3304, 44.1317, 8.5236)
Luminance0.4413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B827 #2B27B8
analogous
#B87327 #B4B827 #6BB827
triadic
#B4B827 #27B4B8 #B827B4
tetradic
#B4B827 #27B873 #2B27B8 #B8276B
square
#B4B827 #27B873 #2B27B8 #B8276B
split-complementary
#B4B827 #276BB8 #7327B8
monochromatic
#515312 #83861C #B4B827 #D3D845 #DFE277

Accessibility & contrast

On white

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

On black

9.83
#B4B827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B827
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B827#FFFFFF#000000##000000
##B4B8271.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b827;
/* rgb */ color: rgb(180, 184, 39);
/* oklch */ color: oklch(75.5% 0.156 111.3);
Tailwind
colors: {
  custom: {
    50: '#cecd6f',
    500: '#b4b827',
    950: '#000000',
  },
}
SCSS
$custom: #b4b827;
$custom-light: #cecd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b827",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 39
  },
  "hsl": {
    "h": 61.655,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75525,
    "c": 0.15563,
    "h": 111.3
  },
  "luminance": 0.44131
}

Semantic roles & 50–950 ramp

primary
#B4B827
secondary
#7371CA
accent
#40E844
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B827

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

Preview Lab → · Contrast checker → · Palette generator →

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