#B2C162#B2C162

#B2C162 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 77.9% C 0.122 H 116.7°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#B2C162
RGBrgb(178, 193, 98)
HSLhsl(69, 43%, 57%)
HSVhsv(69, 49%, 76%)
CMYKcmyk(7.8%, 0%, 49.2%, 24.3%)
CIE-LABlab(75.13, -19.25, 45.71)
CIE-LCHlch(75.13, 49.60, 112.84°)
OKLaboklab(77.89% -0.0547 0.1086)
OKLCHoklch(77.89% 0.122 116.7)
XYZxyz(39.6351, 48.4871, 18.8239)
Luminance0.4849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C162 #7162C1
analogous
#C1A162 #B2C162 #83C162
triadic
#B2C162 #62B2C1 #C162B2
tetradic
#B2C162 #62C1A1 #7162C1 #C16283
square
#B2C162 #62C1A1 #7162C1 #C16283
split-complementary
#B2C162 #6283C1 #A162C1
monochromatic
#6D7930 #95A541 #B2C162 #C8D28E #DDE4BA

Accessibility & contrast

On white

1.96
#B2C162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#B2C162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C162
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C162#FFFFFF#000000##000000
##B2C1621.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB95A
Deuteranopia (green-blind)
#CBBA67
Tritanopia (blue-blind)
#BBB8AB
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c162;
/* rgb */ color: rgb(178, 193, 98);
/* oklch */ color: oklch(77.9% 0.122 116.7);
Tailwind
colors: {
  custom: {
    50: '#cbd391',
    500: '#b2c162',
    950: '#000000',
  },
}
SCSS
$custom: #b2c162;
$custom-light: #cbd391;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c162",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 98
  },
  "hsl": {
    "h": 69.474,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77892,
    "c": 0.12161,
    "h": 116.7
  },
  "luminance": 0.48487
}

Semantic roles & 50–950 ramp

primary
#B2C162
secondary
#B2ACD3
accent
#55D369
background
#FCFCF9
surface
#F9F9F1
border
#D2D2CB
text
#13140D
muted
#82827E

Preview Lab

Preview with #B2C162

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

Preview Lab → · Contrast checker → · Palette generator →

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