#B7D23B#B7D23B

#B7D23B is a light, vivid yellow-green. Relative luminance 0.565; OKLCH L 81.7% C 0.172 H 119.3°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#B7D23B
RGBrgb(183, 210, 59)
HSLhsl(71, 63%, 53%)
HSVhsv(71, 72%, 82%)
CMYKcmyk(12.9%, 0%, 71.9%, 17.6%)
CIE-LABlab(79.88, -28.37, 67.46)
CIE-LCHlch(79.88, 73.19, 112.81°)
OKLaboklab(81.69% -0.0842 0.15)
OKLCHoklch(81.69% 0.172 119.3)
XYZxyz(43.3653, 56.4765, 12.7534)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7D23B #563BD2
analogous
#D2A13B #B7D23B #6CD23B
triadic
#B7D23B #3BB7D2 #D23BB7
tetradic
#B7D23B #3BD2A1 #563BD2 #D23B6C
square
#B7D23B #3BD2A1 #563BD2 #D23B6C
split-complementary
#B7D23B #3B6CD2 #A13BD2
monochromatic
#67771B #92A927 #B7D23B #C9DD6D #DCE99F

Accessibility & contrast

On white

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

On black

12.30
#B7D23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7D23B
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7D23B#FFFFFF#000000##000000
##B7D23B1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC61E
Deuteranopia (green-blind)
#DCC748
Tritanopia (blue-blind)
#C2C7B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b7d23b;
/* rgb */ color: rgb(183, 210, 59);
/* oklch */ color: oklch(81.7% 0.172 119.3);
Tailwind
colors: {
  custom: {
    50: '#d0df7b',
    500: '#b7d23b',
    950: '#000000',
  },
}
SCSS
$custom: #b7d23b;
$custom-light: #d0df7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b7d23b",
  "rgb": {
    "r": 183,
    "g": 210,
    "b": 59
  },
  "hsl": {
    "h": 70.728,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81689,
    "c": 0.17199,
    "h": 119.3
  },
  "luminance": 0.56476
}

Semantic roles & 50–950 ramp

primary
#B7D23B
secondary
#40327F
accent
#42E65F
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7D23B

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

Preview Lab → · Contrast checker → · Palette generator →

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