#B2C839#B2C839

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

Color values

HEX#B2C839
RGBrgb(178, 200, 57)
HSLhsl(69, 57%, 50%)
HSVhsv(69, 72%, 78%)
CMYKcmyk(11%, 0%, 71.5%, 21.6%)
CIE-LABlab(76.72, -25.74, 64.96)
CIE-LCHlch(76.72, 69.87, 111.61°)
OKLaboklab(79.05% -0.0768 0.1445)
OKLCHoklch(79.05% 0.164 118)
XYZxyz(39.7538, 51.0693, 11.6332)
Luminance0.5107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C839 #4F39C8
analogous
#C89739 #B2C839 #6AC839
triadic
#B2C839 #39B2C8 #C839B2
tetradic
#B2C839 #39C897 #4F39C8 #C8396A
square
#B2C839 #39C897 #4F39C8 #C8396A
split-complementary
#B2C839 #396AC8 #9739C8
monochromatic
#5E691D #88992B #B2C839 #C5D569 #D7E399

Accessibility & contrast

On white

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

On black

11.21
#B2C839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C839
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C839#FFFFFF#000000##000000
##B2C8391.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1F
Deuteranopia (green-blind)
#D3BE45
Tritanopia (blue-blind)
#BDBDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c839;
/* rgb */ color: rgb(178, 200, 57);
/* oklch */ color: oklch(79.1% 0.164 118.0);
Tailwind
colors: {
  custom: {
    50: '#ccd879',
    500: '#b2c839',
    950: '#000000',
  },
}
SCSS
$custom: #b2c839;
$custom-light: #ccd879;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c839",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 57
  },
  "hsl": {
    "h": 69.231,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79051,
    "c": 0.16366,
    "h": 118
  },
  "luminance": 0.51069
}

Semantic roles & 50–950 ramp

primary
#B2C839
secondary
#3C3273
accent
#48E05F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2C839

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

Preview Lab → · Contrast checker → · Palette generator →

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