#B4C926#B4C926

#B4C926 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.3% C 0.174 H 117.3°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#B4C926
RGBrgb(180, 201, 38)
HSLhsl(68, 68%, 47%)
HSVhsv(68, 81%, 79%)
CMYKcmyk(10.4%, 0%, 81.1%, 21.2%)
CIE-LABlab(77.05, -26.20, 71.15)
CIE-LCHlch(77.05, 75.82, 110.22°)
OKLaboklab(79.32% -0.0797 0.1544)
OKLCHoklch(79.32% 0.174 117.3)
XYZxyz(40.0599, 51.6170, 9.6861)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C926 #3B26C9
analogous
#C98D26 #B4C926 #63C926
triadic
#B4C926 #26B4C9 #C926B4
tetradic
#B4C926 #26C98D #3B26C9 #C92663
square
#B4C926 #26C98D #3B26C9 #C92663
split-complementary
#B4C926 #2663C9 #8D26C9
monochromatic
#586213 #86961C #B4C926 #CBDE4F #DAE782

Accessibility & contrast

On white

1.85
#B4C926 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#B4C926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C926
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C926#FFFFFF#000000##000000
##B4C9261.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D5BF37
Tritanopia (blue-blind)
#C0BDAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b4c926;
/* rgb */ color: rgb(180, 201, 38);
/* oklch */ color: oklch(79.3% 0.174 117.3);
Tailwind
colors: {
  custom: {
    50: '#cfd971',
    500: '#b4c926',
    950: '#000000',
  },
}
SCSS
$custom: #b4c926;
$custom-light: #cfd971;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c926",
  "rgb": {
    "r": 180,
    "g": 201,
    "b": 38
  },
  "hsl": {
    "h": 67.73,
    "s": 68.201,
    "l": 46.863
  },
  "oklch": {
    "l": 0.79323,
    "c": 0.17373,
    "h": 117.3
  },
  "luminance": 0.51617
}

Semantic roles & 50–950 ramp

primary
#B4C926
secondary
#30266D
accent
#3DEB53
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4C926

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

Preview Lab → · Contrast checker → · Palette generator →

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