#B2BE40#B2BE40

#B2BE40 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.9% C 0.148 H 114.6°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#B2BE40
RGBrgb(178, 190, 64)
HSLhsl(66, 50%, 50%)
HSVhsv(66, 66%, 75%)
CMYKcmyk(6.3%, 0%, 66.3%, 25.5%)
CIE-LABlab(73.97, -20.45, 59.58)
CIE-LCHlch(73.97, 62.99, 108.94°)
OKLaboklab(76.86% -0.0614 0.1343)
OKLCHoklch(76.86% 0.148 114.6)
XYZxyz(37.6999, 46.6627, 11.8703)
Luminance0.4666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BE40 #4C40BE
analogous
#BE8B40 #B2BE40 #73BE40
triadic
#B2BE40 #40B2BE #BE40B2
tetradic
#B2BE40 #40BE8B #4C40BE #BE4073
square
#B2BE40 #40BE8B #4C40BE #BE4073
split-complementary
#B2BE40 #4073BE #8B40BE
monochromatic
#5C6221 #879031 #B2BE40 #C5CE6D #D7DD9B

Accessibility & contrast

On white

2.03
#B2BE40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#B2BE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BE40
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BE40#FFFFFF#000000##000000
##B2BE401.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#CBB749
Tritanopia (blue-blind)
#BDB3A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b2be40;
/* rgb */ color: rgb(178, 190, 64);
/* oklch */ color: oklch(76.9% 0.148 114.6);
Tailwind
colors: {
  custom: {
    50: '#ccd17c',
    500: '#b2be40',
    950: '#000000',
  },
}
SCSS
$custom: #b2be40;
$custom-light: #ccd17c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2be40",
  "rgb": {
    "r": 178,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 65.714,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7686,
    "c": 0.1477,
    "h": 114.6
  },
  "luminance": 0.46662
}

Semantic roles & 50–950 ramp

primary
#B2BE40
secondary
#9690C9
accent
#4FD95C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2BE40

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

Preview Lab → · Contrast checker → · Palette generator →

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