#B8C526#B8C526

#B8C526 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 78.7% C 0.168 H 114.6°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#B8C526
RGBrgb(184, 197, 38)
HSLhsl(65, 68%, 46%)
HSVhsv(65, 81%, 77%)
CMYKcmyk(6.6%, 0%, 80.7%, 22.7%)
CIE-LABlab(76.23, -22.59, 70.55)
CIE-LCHlch(76.23, 74.08, 107.75°)
OKLaboklab(78.74% -0.0699 0.1529)
OKLCHoklch(78.74% 0.168 114.6)
XYZxyz(40.0845, 50.2636, 9.4236)
Luminance0.5026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C526 #3326C5
analogous
#C58226 #B8C526 #68C526
triadic
#B8C526 #26B8C5 #C526B8
tetradic
#B8C526 #26C582 #3326C5 #C52668
square
#B8C526 #26C582 #3326C5 #C52668
split-complementary
#B8C526 #2668C5 #8226C5
monochromatic
#585E12 #88921C #B8C526 #D1DC4C #DEE67F

Accessibility & contrast

On white

1.90
#B8C526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#B8C526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C526
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C526#FFFFFF#000000##000000
##B8C5261.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BD36
Tritanopia (blue-blind)
#C5B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b8c526;
/* rgb */ color: rgb(184, 197, 38);
/* oklch */ color: oklch(78.7% 0.168 114.6);
Tailwind
colors: {
  custom: {
    50: '#d1d670',
    500: '#b8c526',
    950: '#000000',
  },
}
SCSS
$custom: #b8c526;
$custom-light: #d1d670;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c526",
  "rgb": {
    "r": 184,
    "g": 197,
    "b": 38
  },
  "hsl": {
    "h": 64.906,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78737,
    "c": 0.16817,
    "h": 114.6
  },
  "luminance": 0.50263
}

Semantic roles & 50–950 ramp

primary
#B8C526
secondary
#2B266A
accent
#3DEB4B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B8C526

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

Preview Lab → · Contrast checker → · Palette generator →

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