#B5C926#B5C926

#B5C926 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.4% C 0.173 H 116.9°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#B5C926
RGBrgb(181, 201, 38)
HSLhsl(67, 68%, 47%)
HSVhsv(67, 81%, 79%)
CMYKcmyk(10%, 0%, 81.1%, 21.2%)
CIE-LABlab(77.12, -25.79, 71.24)
CIE-LCHlch(77.12, 75.77, 109.90°)
OKLaboklab(79.4% -0.0786 0.1545)
OKLCHoklch(79.4% 0.173 116.9)
XYZxyz(40.2936, 51.7375, 9.6970)
Luminance0.5174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C926 #3A26C9
analogous
#C98C26 #B5C926 #64C926
triadic
#B5C926 #26B5C9 #C926B5
tetradic
#B5C926 #26C98C #3A26C9 #C92664
square
#B5C926 #26C98C #3A26C9 #C92664
split-complementary
#B5C926 #2664C9 #8C26C9
monochromatic
#586213 #87961C #B5C926 #CCDE4F #DBE782

Accessibility & contrast

On white

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

On black

11.35
#B5C926 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C926
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C926#FFFFFF#000000##000000
##B5C9261.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5c926;
/* rgb */ color: rgb(181, 201, 38);
/* oklch */ color: oklch(79.4% 0.173 116.9);
Tailwind
colors: {
  custom: {
    50: '#cfd971',
    500: '#b5c926',
    950: '#000000',
  },
}
SCSS
$custom: #b5c926;
$custom-light: #cfd971;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c926",
  "rgb": {
    "r": 181,
    "g": 201,
    "b": 38
  },
  "hsl": {
    "h": 67.362,
    "s": 68.201,
    "l": 46.863
  },
  "oklch": {
    "l": 0.79399,
    "c": 0.17337,
    "h": 116.9
  },
  "luminance": 0.51737
}

Semantic roles & 50–950 ramp

primary
#B5C926
secondary
#2F266D
accent
#3DEB52
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C926

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

Preview Lab → · Contrast checker → · Palette generator →

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