#B2C152#B2C152

#B2C152 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 77.7% C 0.137 H 116.1°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#B2C152
RGBrgb(178, 193, 82)
HSLhsl(68, 47%, 54%)
HSVhsv(68, 58%, 76%)
CMYKcmyk(7.8%, 0%, 57.5%, 24.3%)
CIE-LABlab(74.96, -20.67, 53.00)
CIE-LCHlch(74.96, 56.89, 111.31°)
OKLaboklab(77.7% -0.0602 0.1228)
OKLCHoklch(77.7% 0.137 116.1)
XYZxyz(38.9538, 48.2146, 15.2353)
Luminance0.4821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C152 #6152C1
analogous
#C19952 #B2C152 #7BC152
triadic
#B2C152 #52B2C1 #C152B2
tetradic
#B2C152 #52C199 #6152C1 #C1527B
square
#B2C152 #52C199 #6152C1 #C1527B
split-complementary
#B2C152 #527BC1 #9952C1
monochromatic
#677028 #909D38 #B2C152 #C6D17F #DAE1AC

Accessibility & contrast

On white

1.97
#B2C152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#B2C152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C152
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C152#FFFFFF#000000##000000
##B2C1521.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB846
Deuteranopia (green-blind)
#CCB959
Tritanopia (blue-blind)
#BCB7A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c152;
/* rgb */ color: rgb(178, 193, 82);
/* oklch */ color: oklch(77.7% 0.137 116.1);
Tailwind
colors: {
  custom: {
    50: '#cbd387',
    500: '#b2c152',
    950: '#000000',
  },
}
SCSS
$custom: #b2c152;
$custom-light: #cbd387;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c152",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 68.108,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77699,
    "c": 0.13678,
    "h": 116.1
  },
  "luminance": 0.48214
}

Semantic roles & 50–950 ramp

primary
#B2C152
secondary
#A6A0CF
accent
#51D763
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14140B
muted
#82827C

Preview Lab

Preview with #B2C152

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

Preview Lab → · Contrast checker → · Palette generator →

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