#B7C22E#B7C22E

#B7C22E is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.0% C 0.162 H 113.9°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#B7C22E
RGBrgb(183, 194, 46)
HSLhsl(64, 62%, 47%)
HSVhsv(64, 76%, 76%)
CMYKcmyk(5.7%, 0%, 76.3%, 23.9%)
CIE-LABlab(75.36, -21.24, 67.45)
CIE-LCHlch(75.36, 70.72, 107.48°)
OKLaboklab(78.03% -0.0655 0.1478)
OKLCHoklch(78.03% 0.162 113.9)
XYZxyz(39.3146, 48.8489, 9.9420)
Luminance0.4885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C22E #392EC2
analogous
#C2832E #B7C22E #6DC22E
triadic
#B7C22E #2EB7C2 #C22EB7
tetradic
#B7C22E #2EC283 #392EC2 #C22E6D
square
#B7C22E #2EC283 #392EC2 #C22E6D
split-complementary
#B7C22E #2E6DC2 #832EC2
monochromatic
#5A5F17 #889122 #B7C22E #CDD756 #DCE388

Accessibility & contrast

On white

1.95
#B7C22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#B7C22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C22E
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C22E#FFFFFF#000000##000000
##B7C22E1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B803
Deuteranopia (green-blind)
#D0BB3B
Tritanopia (blue-blind)
#C3B6A6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c22e;
/* rgb */ color: rgb(183, 194, 46);
/* oklch */ color: oklch(78.0% 0.162 113.9);
Tailwind
colors: {
  custom: {
    50: '#d0d473',
    500: '#b7c22e',
    950: '#000000',
  },
}
SCSS
$custom: #b7c22e;
$custom-light: #d0d473;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c22e",
  "rgb": {
    "r": 183,
    "g": 194,
    "b": 46
  },
  "hsl": {
    "h": 64.459,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.78029,
    "c": 0.16164,
    "h": 113.9
  },
  "luminance": 0.48848
}

Semantic roles & 50–950 ramp

primary
#B7C22E
secondary
#857FCC
accent
#43E54F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B7C22E

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

Preview Lab → · Contrast checker → · Palette generator →

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