#B7C131#B7C131

#B7C131 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.8% C 0.159 H 113.6°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#B7C131
RGBrgb(183, 193, 49)
HSLhsl(64, 60%, 47%)
HSVhsv(64, 75%, 76%)
CMYKcmyk(5.2%, 0%, 74.6%, 24.3%)
CIE-LABlab(75.10, -20.62, 66.26)
CIE-LCHlch(75.10, 69.39, 107.29°)
OKLaboklab(77.82% -0.0636 0.1457)
OKLCHoklch(77.82% 0.159 113.6)
XYZxyz(39.1540, 48.4298, 10.1905)
Luminance0.4843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C131 #3B31C1
analogous
#C18331 #B7C131 #6FC131
triadic
#B7C131 #31B7C1 #C131B7
tetradic
#B7C131 #31C183 #3B31C1 #C1316F
square
#B7C131 #31C183 #3B31C1 #C1316F
split-complementary
#B7C131 #316FC1 #8331C1
monochromatic
#5A5F18 #899025 #B7C131 #CDD55A #DCE28B

Accessibility & contrast

On white

1.97
#B7C131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#B7C131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C131
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C131#FFFFFF#000000##000000
##B7C1311.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB80F
Deuteranopia (green-blind)
#CFBA3D
Tritanopia (blue-blind)
#C3B5A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c131;
/* rgb */ color: rgb(183, 193, 49);
/* oklch */ color: oklch(77.8% 0.159 113.6);
Tailwind
colors: {
  custom: {
    50: '#d0d374',
    500: '#b7c131',
    950: '#000000',
  },
}
SCSS
$custom: #b7c131;
$custom-light: #d0d374;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c131",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 49
  },
  "hsl": {
    "h": 64.167,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.77824,
    "c": 0.159,
    "h": 113.6
  },
  "luminance": 0.48429
}

Semantic roles & 50–950 ramp

primary
#B7C131
secondary
#8782CC
accent
#45E350
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C131

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

Preview Lab → · Contrast checker → · Palette generator →

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