#B3C842#B3C842

#B3C842 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.2% C 0.157 H 117.8°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#B3C842
RGBrgb(179, 200, 66)
HSLhsl(69, 55%, 52%)
HSVhsv(69, 67%, 78%)
CMYKcmyk(10.5%, 0%, 67%, 21.6%)
CIE-LABlab(76.85, -24.82, 61.78)
CIE-LCHlch(76.85, 66.57, 111.89°)
OKLaboklab(79.19% -0.0735 0.1392)
OKLCHoklch(79.19% 0.157 117.8)
XYZxyz(40.2289, 51.2860, 12.9331)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C842 #5742C8
analogous
#C89A42 #B3C842 #70C842
triadic
#B3C842 #42B3C8 #C842B3
tetradic
#B3C842 #42C89A #5742C8 #C84270
square
#B3C842 #42C89A #5742C8 #C84270
split-complementary
#B3C842 #4270C8 #9A42C8
monochromatic
#636F20 #8D9F2E #B3C842 #C6D671 #D9E4A1

Accessibility & contrast

On white

1.87
#B3C842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#B3C842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C842
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C842#FFFFFF#000000##000000
##B3C8421.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD2E
Deuteranopia (green-blind)
#D3BE4C
Tritanopia (blue-blind)
#BEBDAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b3c842;
/* rgb */ color: rgb(179, 200, 66);
/* oklch */ color: oklch(79.2% 0.157 117.8);
Tailwind
colors: {
  custom: {
    50: '#cdd87e',
    500: '#b3c842',
    950: '#000000',
  },
}
SCSS
$custom: #b3c842;
$custom-light: #cdd87e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c842",
  "rgb": {
    "r": 179,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 69.403,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79193,
    "c": 0.15742,
    "h": 117.8
  },
  "luminance": 0.51286
}

Semantic roles & 50–950 ramp

primary
#B3C842
secondary
#403679
accent
#4ADE61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B3C842

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

Preview Lab → · Contrast checker → · Palette generator →

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