#B7C631#B7C631

#B7C631 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 78.9% C 0.164 H 115.4°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#B7C631
RGBrgb(183, 198, 49)
HSLhsl(66, 60%, 48%)
HSVhsv(66, 75%, 78%)
CMYKcmyk(7.6%, 0%, 75.3%, 22.4%)
CIE-LABlab(76.48, -23.08, 67.55)
CIE-LCHlch(76.48, 71.38, 108.86°)
OKLaboklab(78.94% -0.0704 0.1485)
OKLCHoklch(78.94% 0.164 115.4)
XYZxyz(40.2780, 50.6779, 10.5651)
Luminance0.5068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C631 #4031C6
analogous
#C68A31 #B7C631 #6CC631
triadic
#B7C631 #31B7C6 #C631B7
tetradic
#B7C631 #31C68A #4031C6 #C6316C
square
#B7C631 #31C68A #4031C6 #C6316C
split-complementary
#B7C631 #316CC6 #8A31C6
monochromatic
#5C6419 #8A9525 #B7C631 #CBD75D #DBE38E

Accessibility & contrast

On white

1.89
#B7C631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#B7C631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C631
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C631#FFFFFF#000000##000000
##B7C6311.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC0B
Deuteranopia (green-blind)
#D3BE3E
Tritanopia (blue-blind)
#C3BAAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b7c631;
/* rgb */ color: rgb(183, 198, 49);
/* oklch */ color: oklch(78.9% 0.164 115.4);
Tailwind
colors: {
  custom: {
    50: '#d0d775',
    500: '#b7c631',
    950: '#000000',
  },
}
SCSS
$custom: #b7c631;
$custom-light: #d0d775;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c631",
  "rgb": {
    "r": 183,
    "g": 198,
    "b": 49
  },
  "hsl": {
    "h": 66.04,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78937,
    "c": 0.16432,
    "h": 115.4
  },
  "luminance": 0.50677
}

Semantic roles & 50–950 ramp

primary
#B7C631
secondary
#332D6E
accent
#44E354
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B7C631

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

Preview Lab → · Contrast checker → · Palette generator →

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