#B7BD26#B7BD26

#B7BD26 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.9% C 0.160 H 112.0°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#B7BD26
RGBrgb(183, 189, 38)
HSLhsl(62, 67%, 45%)
HSVhsv(62, 80%, 74%)
CMYKcmyk(3.2%, 0%, 79.9%, 25.9%)
CIE-LABlab(73.94, -19.06, 68.52)
CIE-LCHlch(73.94, 71.12, 105.55°)
OKLaboklab(76.88% -0.0601 0.1486)
OKLCHoklch(76.88% 0.16 112)
XYZxyz(38.0772, 46.6034, 8.8229)
Luminance0.4660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BD26 #2C26BD
analogous
#BD7826 #B7BD26 #6CBD26
triadic
#B7BD26 #26B7BD #BD26B7
tetradic
#B7BD26 #26BD78 #2C26BD #BD266C
square
#B7BD26 #26BD78 #2C26BD #BD266C
split-complementary
#B7BD26 #266CBD #7826BD
monochromatic
#545712 #868A1C #B7BD26 #D4DA46 #E0E479

Accessibility & contrast

On white

2.03
#B7BD26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#B7BD26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BD26
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BD26#FFFFFF#000000##000000
##B7BD261.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CDB735
Tritanopia (blue-blind)
#C4B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7bd26;
/* rgb */ color: rgb(183, 189, 38);
/* oklch */ color: oklch(76.9% 0.160 112.0);
Tailwind
colors: {
  custom: {
    50: '#d1d06f',
    500: '#b7bd26',
    950: '#000000',
  },
}
SCSS
$custom: #b7bd26;
$custom-light: #d1d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bd26",
  "rgb": {
    "r": 183,
    "g": 189,
    "b": 38
  },
  "hsl": {
    "h": 62.384,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.76878,
    "c": 0.1603,
    "h": 112
  },
  "luminance": 0.46602
}

Semantic roles & 50–950 ramp

primary
#B7BD26
secondary
#7673CC
accent
#3EE945
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B7BD26

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

Preview Lab → · Contrast checker → · Palette generator →

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