#B7C23A#B7C23A

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

Color values

HEX#B7C23A
RGBrgb(183, 194, 58)
HSLhsl(65, 54%, 49%)
HSVhsv(65, 70%, 76%)
CMYKcmyk(5.7%, 0%, 70.1%, 23.9%)
CIE-LABlab(75.42, -20.68, 63.46)
CIE-LCHlch(75.42, 66.74, 108.05°)
OKLaboklab(78.1% -0.0629 0.1414)
OKLCHoklch(78.1% 0.155 114)
XYZxyz(39.5851, 48.9571, 11.3666)
Luminance0.4896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C23A #453AC2
analogous
#C2893A #B7C23A #73C23A
triadic
#B7C23A #3AB7C2 #C23AB7
tetradic
#B7C23A #3AC289 #453AC2 #C23A73
square
#B7C23A #3AC289 #453AC2 #C23A73
split-complementary
#B7C23A #3A73C2 #893AC2
monochromatic
#5E641E #8B932C #B7C23A #C9D267 #DAE097

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C23A#FFFFFF#000000##000000
##B7C23A1.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)
#D0B923
Deuteranopia (green-blind)
#D0BB44
Tritanopia (blue-blind)
#C3B7A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b7c23a;
/* rgb */ color: rgb(183, 194, 58);
/* oklch */ color: oklch(78.1% 0.155 114.0);
Tailwind
colors: {
  custom: {
    50: '#d0d479',
    500: '#b7c23a',
    950: '#000000',
  },
}
SCSS
$custom: #b7c23a;
$custom-light: #d0d479;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c23a",
  "rgb": {
    "r": 183,
    "g": 194,
    "b": 58
  },
  "hsl": {
    "h": 64.853,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78104,
    "c": 0.15475,
    "h": 114
  },
  "luminance": 0.48956
}

Semantic roles & 50–950 ramp

primary
#B7C23A
secondary
#928DCB
accent
#4ADD56
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B7C23A

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

Preview Lab → · Contrast checker → · Palette generator →

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