#B7D22F#B7D22F

#B7D22F is a light, vivid yellow. Relative luminance 0.564; OKLCH L 81.6% C 0.178 H 119.1°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#B7D22F
RGBrgb(183, 210, 47)
HSLhsl(70, 64%, 50%)
HSVhsv(70, 78%, 82%)
CMYKcmyk(12.9%, 0%, 77.6%, 17.6%)
CIE-LABlab(79.82, -28.92, 71.23)
CIE-LCHlch(79.82, 76.87, 112.10°)
OKLaboklab(81.62% -0.0867 0.1559)
OKLCHoklch(81.62% 0.178 119.1)
XYZxyz(43.0891, 56.3660, 11.2985)
Luminance0.5637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D22F #4A2FD2
analogous
#D29C2F #B7D22F #65D22F
triadic
#B7D22F #2FB7D2 #D22FB7
tetradic
#B7D22F #2FD29C #4A2FD2 #D22F65
square
#B7D22F #2FD29C #4A2FD2 #D22F65
split-complementary
#B7D22F #2F65D2 #9C2FD2
monochromatic
#606F18 #8CA123 #B7D22F #C8DD61 #DAE894

Accessibility & contrast

On white

1.71
#B7D22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#B7D22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D22F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D22F#FFFFFF#000000##000000
##B7D22F1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#DDC63F
Tritanopia (blue-blind)
#C2C6B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b7d22f;
/* rgb */ color: rgb(183, 210, 47);
/* oklch */ color: oklch(81.6% 0.178 119.1);
Tailwind
colors: {
  custom: {
    50: '#d1df75',
    500: '#b7d22f',
    950: '#000000',
  },
}
SCSS
$custom: #b7d22f;
$custom-light: #d1df75;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d22f",
  "rgb": {
    "r": 183,
    "g": 210,
    "b": 47
  },
  "hsl": {
    "h": 69.939,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81618,
    "c": 0.17839,
    "h": 119.1
  },
  "luminance": 0.56366
}

Semantic roles & 50–950 ramp

primary
#B7D22F
secondary
#3A2D78
accent
#40E75C
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B7D22F

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

Preview Lab → · Contrast checker → · Palette generator →

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