#B7C526#B7C526

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

Color values

HEX#B7C526
RGBrgb(183, 197, 38)
HSLhsl(65, 68%, 46%)
HSVhsv(65, 81%, 77%)
CMYKcmyk(7.1%, 0%, 80.7%, 22.7%)
CIE-LABlab(76.16, -23.01, 70.46)
CIE-LCHlch(76.16, 74.12, 108.09°)
OKLaboklab(78.66% -0.071 0.1528)
OKLCHoklch(78.66% 0.168 114.9)
XYZxyz(39.8458, 50.1405, 9.4124)
Luminance0.5014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C526 #3426C5
analogous
#C58326 #B7C526 #67C526
triadic
#B7C526 #26B7C5 #C526B7
tetradic
#B7C526 #26C583 #3426C5 #C52667
square
#B7C526 #26C583 #3426C5 #C52667
split-complementary
#B7C526 #2667C5 #8326C5
monochromatic
#585E12 #87921C #B7C526 #D0DC4C #DDE67F

Accessibility & contrast

On white

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

On black

11.03
#B7C526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C526
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C526#FFFFFF#000000##000000
##B7C5261.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7c526;
/* rgb */ color: rgb(183, 197, 38);
/* oklch */ color: oklch(78.7% 0.168 114.9);
Tailwind
colors: {
  custom: {
    50: '#d1d670',
    500: '#b7c526',
    950: '#000000',
  },
}
SCSS
$custom: #b7c526;
$custom-light: #d1d670;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c526",
  "rgb": {
    "r": 183,
    "g": 197,
    "b": 38
  },
  "hsl": {
    "h": 65.283,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.78658,
    "c": 0.16848,
    "h": 114.9
  },
  "luminance": 0.5014
}

Semantic roles & 50–950 ramp

primary
#B7C526
secondary
#2C266A
accent
#3DEB4D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B7C526

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

Preview Lab → · Contrast checker → · Palette generator →

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