#B4B726#B4B726

#B4B726 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.3% C 0.155 H 110.9°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#B4B726
RGBrgb(180, 183, 38)
HSLhsl(61, 66%, 43%)
HSVhsv(61, 79%, 72%)
CMYKcmyk(1.6%, 0%, 79.2%, 28.2%)
CIE-LABlab(72.03, -17.34, 66.75)
CIE-LCHlch(72.03, 68.97, 104.56°)
OKLaboklab(75.3% -0.0552 0.1449)
OKLCHoklch(75.3% 0.155 110.9)
XYZxyz(36.1070, 43.7112, 8.3685)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B726 #2926B7
analogous
#B77126 #B4B726 #6CB726
triadic
#B4B726 #26B4B7 #B726B4
tetradic
#B4B726 #26B771 #2926B7 #B7266C
square
#B4B726 #26B771 #2926B7 #B7266C
split-complementary
#B4B726 #266CB7 #7126B7
monochromatic
#505211 #82841B #B4B726 #D5D842 #E0E275

Accessibility & contrast

On white

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

On black

9.74
#B4B726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B726
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B726#FFFFFF#000000##000000
##B4B7261.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C7B233
Tritanopia (blue-blind)
#C1AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b726;
/* rgb */ color: rgb(180, 183, 38);
/* oklch */ color: oklch(75.3% 0.155 110.9);
Tailwind
colors: {
  custom: {
    50: '#cecc6e',
    500: '#b4b726',
    950: '#000000',
  },
}
SCSS
$custom: #b4b726;
$custom-light: #cecc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b726",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 38
  },
  "hsl": {
    "h": 61.241,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.75298,
    "c": 0.1551,
    "h": 110.9
  },
  "luminance": 0.4371
}

Semantic roles & 50–950 ramp

primary
#B4B726
secondary
#716FCA
accent
#3FE943
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B726

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

Preview Lab → · Contrast checker → · Palette generator →

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