#B2C139#B2C139

#B2C139 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.5% C 0.156 H 115.6°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#B2C139
RGBrgb(178, 193, 57)
HSLhsl(67, 54%, 49%)
HSVhsv(67, 70%, 76%)
CMYKcmyk(7.8%, 0%, 70.5%, 24.3%)
CIE-LABlab(74.76, -22.33, 63.04)
CIE-LCHlch(74.76, 66.88, 109.50°)
OKLaboklab(77.48% -0.0673 0.1405)
OKLCHoklch(77.48% 0.156 115.6)
XYZxyz(38.1696, 47.9009, 11.1052)
Luminance0.4790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C139 #4839C1
analogous
#C18C39 #B2C139 #6EC139
triadic
#B2C139 #39B2C1 #C139B2
tetradic
#B2C139 #39C18C #4839C1 #C1396E
square
#B2C139 #39C18C #4839C1 #C1396E
split-complementary
#B2C139 #396EC1 #8C39C1
monochromatic
#5B631D #86922B #B2C139 #C6D266 #D7E095

Accessibility & contrast

On white

1.98
#B2C139 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#B2C139 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C139
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C139#FFFFFF#000000##000000
##B2C1391.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB722
Deuteranopia (green-blind)
#CDB944
Tritanopia (blue-blind)
#BDB6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c139;
/* rgb */ color: rgb(178, 193, 57);
/* oklch */ color: oklch(77.5% 0.156 115.6);
Tailwind
colors: {
  custom: {
    50: '#ccd378',
    500: '#b2c139',
    950: '#000000',
  },
}
SCSS
$custom: #b2c139;
$custom-light: #ccd378;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c139",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 57
  },
  "hsl": {
    "h": 66.618,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77478,
    "c": 0.15579,
    "h": 115.6
  },
  "luminance": 0.479
}

Semantic roles & 50–950 ramp

primary
#B2C139
secondary
#928BCB
accent
#4ADE5A
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C139

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

Preview Lab → · Contrast checker → · Palette generator →

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