#B9C526#B9C526

#B9C526 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 78.8% C 0.168 H 114.2°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#B9C526
RGBrgb(185, 197, 38)
HSLhsl(65, 68%, 46%)
HSVhsv(65, 81%, 77%)
CMYKcmyk(6.1%, 0%, 80.7%, 22.7%)
CIE-LABlab(76.31, -22.17, 70.65)
CIE-LCHlch(76.31, 74.04, 107.42°)
OKLaboklab(78.82% -0.0688 0.1531)
OKLCHoklch(78.82% 0.168 114.2)
XYZxyz(40.3250, 50.3876, 9.4349)
Luminance0.5039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C526 #3226C5
analogous
#C58126 #B9C526 #69C526
triadic
#B9C526 #26B9C5 #C526B9
tetradic
#B9C526 #26C581 #3226C5 #C52669
square
#B9C526 #26C581 #3226C5 #C52669
split-complementary
#B9C526 #2669C5 #8126C5
monochromatic
#595E12 #89921C #B9C526 #D2DC4C #DFE67F

Accessibility & contrast

On white

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

On black

11.08
#B9C526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C526
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C526#FFFFFF#000000##000000
##B9C5261.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9c526;
/* rgb */ color: rgb(185, 197, 38);
/* oklch */ color: oklch(78.8% 0.168 114.2);
Tailwind
colors: {
  custom: {
    50: '#d2d670',
    500: '#b9c526',
    950: '#000000',
  },
}
SCSS
$custom: #b9c526;
$custom-light: #d2d670;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c526",
  "rgb": {
    "r": 185,
    "g": 197,
    "b": 38
  },
  "hsl": {
    "h": 64.528,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78817,
    "c": 0.16785,
    "h": 114.2
  },
  "luminance": 0.50387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9C526

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

Preview Lab → · Contrast checker → · Palette generator →

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