#B3C838#B3C838

#B3C838 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.1% C 0.164 H 117.6°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#B3C838
RGBrgb(179, 200, 56)
HSLhsl(69, 57%, 50%)
HSVhsv(69, 72%, 78%)
CMYKcmyk(10.5%, 0%, 72%, 21.6%)
CIE-LABlab(76.79, -25.38, 65.40)
CIE-LCHlch(76.79, 70.15, 111.21°)
OKLaboklab(79.12% -0.0759 0.1453)
OKLCHoklch(79.12% 0.164 117.6)
XYZxyz(39.9594, 51.1782, 11.5139)
Luminance0.5118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3C838 #4D38C8
analogous
#C89538 #B3C838 #6BC838
triadic
#B3C838 #38B3C8 #C838B3
tetradic
#B3C838 #38C895 #4D38C8 #C8386B
square
#B3C838 #38C895 #4D38C8 #C8386B
split-complementary
#B3C838 #386BC8 #9538C8
monochromatic
#5E691D #89992A #B3C838 #C5D568 #D8E398

Accessibility & contrast

On white

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

On black

11.24
#B3C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3C838
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3C838#FFFFFF#000000##000000
##B3C8381.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1D
Deuteranopia (green-blind)
#D3BE44
Tritanopia (blue-blind)
#BEBDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b3c838;
/* rgb */ color: rgb(179, 200, 56);
/* oklch */ color: oklch(79.1% 0.164 117.6);
Tailwind
colors: {
  custom: {
    50: '#cdd878',
    500: '#b3c838',
    950: '#000000',
  },
}
SCSS
$custom: #b3c838;
$custom-light: #cdd878;
$custom-dark: #000000;
JSON
{
  "hex": "#b3c838",
  "rgb": {
    "r": 179,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 68.75,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7912,
    "c": 0.1639,
    "h": 117.6
  },
  "luminance": 0.51178
}

Semantic roles & 50–950 ramp

primary
#B3C838
secondary
#3B3273
accent
#48E05E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B3C838

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

Preview Lab → · Contrast checker → · Palette generator →

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