#B2C140#B2C140

#B2C140 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.151 H 115.7°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#B2C140
RGBrgb(178, 193, 64)
HSLhsl(67, 51%, 50%)
HSVhsv(67, 67%, 76%)
CMYKcmyk(7.8%, 0%, 66.8%, 24.3%)
CIE-LABlab(74.81, -21.93, 60.44)
CIE-LCHlch(74.81, 64.30, 109.94°)
OKLaboklab(77.53% -0.0656 0.1361)
OKLCHoklch(77.53% 0.151 115.7)
XYZxyz(38.3564, 47.9756, 12.0891)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C140 #4F40C1
analogous
#C19040 #B2C140 #71C140
triadic
#B2C140 #40B2C1 #C140B2
tetradic
#B2C140 #40C190 #4F40C1 #C14071
square
#B2C140 #40C190 #4F40C1 #C14071
split-complementary
#B2C140 #4071C1 #9040C1
monochromatic
#5E6621 #889430 #B2C140 #C5D06E #D7DF9C

Accessibility & contrast

On white

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

On black

10.60
#B2C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C140
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C140#FFFFFF#000000##000000
##B2C1401.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72D
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#BDB6A7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c140;
/* rgb */ color: rgb(178, 193, 64);
/* oklch */ color: oklch(77.5% 0.151 115.7);
Tailwind
colors: {
  custom: {
    50: '#ccd37c',
    500: '#b2c140',
    950: '#000000',
  },
}
SCSS
$custom: #b2c140;
$custom-light: #ccd37c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c140",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 66.977,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.7753,
    "c": 0.1511,
    "h": 115.7
  },
  "luminance": 0.47975
}

Semantic roles & 50–950 ramp

primary
#B2C140
secondary
#9892CB
accent
#4DDA5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2C140

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

Preview Lab → · Contrast checker → · Palette generator →

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