#B2C262#B2C262

#B2C262 is a light, vivid yellow-green. Relative luminance 0.489; OKLCH L 78.1% C 0.123 H 117.1°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#B2C262
RGBrgb(178, 194, 98)
HSLhsl(70, 44%, 57%)
HSVhsv(70, 49%, 76%)
CMYKcmyk(8.2%, 0%, 49.5%, 23.9%)
CIE-LABlab(75.41, -19.75, 46.04)
CIE-LCHlch(75.41, 50.10, 113.22°)
OKLaboklab(78.11% -0.0561 0.1094)
OKLCHoklch(78.11% 0.123 117.1)
XYZxyz(39.8569, 48.9308, 18.8978)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C262 #7262C2
analogous
#C2A262 #B2C262 #82C262
triadic
#B2C262 #62B2C2 #C262B2
tetradic
#B2C262 #62C2A2 #7262C2 #C26282
square
#B2C262 #62C2A2 #7262C2 #C26282
split-complementary
#B2C262 #6282C2 #A262C2
monochromatic
#6E7A2F #95A641 #B2C262 #C8D38E #DDE4BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C262#FFFFFF#000000##000000
##B2C2621.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)
#CDB959
Deuteranopia (green-blind)
#CBBA67
Tritanopia (blue-blind)
#BBB9AC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b2c262;
/* rgb */ color: rgb(178, 194, 98);
/* oklch */ color: oklch(78.1% 0.123 117.1);
Tailwind
colors: {
  custom: {
    50: '#cbd491',
    500: '#b2c262',
    950: '#000000',
  },
}
SCSS
$custom: #b2c262;
$custom-light: #cbd491;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c262",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 70,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.78113,
    "c": 0.12289,
    "h": 117.1
  },
  "luminance": 0.4893
}

Semantic roles & 50–950 ramp

primary
#B2C262
secondary
#B3ACD3
accent
#54D469
background
#FCFDF9
surface
#F9FAF1
border
#D2D3CB
text
#13140D
muted
#82837E

Preview Lab

Preview with #B2C262

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

Preview Lab → · Contrast checker → · Palette generator →

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