#B7C23B#B7C23B

#B7C23B is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.1% C 0.154 H 114.0°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#B7C23B
RGBrgb(183, 194, 59)
HSLhsl(65, 53%, 50%)
HSVhsv(65, 70%, 76%)
CMYKcmyk(5.7%, 0%, 69.6%, 23.9%)
CIE-LABlab(75.43, -20.62, 63.10)
CIE-LCHlch(75.43, 66.38, 108.10°)
OKLaboklab(78.11% -0.0627 0.1408)
OKLCHoklch(78.11% 0.154 114)
XYZxyz(39.6108, 48.9674, 11.5018)
Luminance0.4897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C23B #463BC2
analogous
#C28A3B #B7C23B #74C23B
triadic
#B7C23B #3BB7C2 #C23BB7
tetradic
#B7C23B #3BC28A #463BC2 #C23B74
square
#B7C23B #3BC28A #463BC2 #C23B74
split-complementary
#B7C23B #3B74C2 #8A3BC2
monochromatic
#5E641E #8B932D #B7C23B #C9D169 #DAE098

Accessibility & contrast

On white

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

On black

10.79
#B7C23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C23B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C23B#FFFFFF#000000##000000
##B7C23B1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B925
Deuteranopia (green-blind)
#D0BB45
Tritanopia (blue-blind)
#C3B7A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c23b;
/* rgb */ color: rgb(183, 194, 59);
/* oklch */ color: oklch(78.1% 0.154 114.0);
Tailwind
colors: {
  custom: {
    50: '#d0d479',
    500: '#b7c23b',
    950: '#000000',
  },
}
SCSS
$custom: #b7c23b;
$custom-light: #d0d479;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c23b",
  "rgb": {
    "r": 183,
    "g": 194,
    "b": 59
  },
  "hsl": {
    "h": 64.889,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78112,
    "c": 0.15411,
    "h": 114
  },
  "luminance": 0.48967
}

Semantic roles & 50–950 ramp

primary
#B7C23B
secondary
#938ECB
accent
#4BDD57
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B7C23B

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

Preview Lab → · Contrast checker → · Palette generator →

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