#B2BE2D#B2BE2D

#B2BE2D is a light, vivid yellow. Relative luminance 0.465; OKLCH L 76.7% C 0.159 H 114.4°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#B2BE2D
RGBrgb(178, 190, 45)
HSLhsl(65, 62%, 46%)
HSVhsv(65, 76%, 75%)
CMYKcmyk(6.3%, 0%, 76.3%, 25.5%)
CIE-LABlab(73.86, -21.42, 66.25)
CIE-LCHlch(73.86, 69.62, 107.92°)
OKLaboklab(76.73% -0.0659 0.1452)
OKLCHoklch(76.73% 0.159 114.4)
XYZxyz(37.2483, 46.4821, 9.4919)
Luminance0.4648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BE2D #392DBE
analogous
#BE812D #B2BE2D #69BE2D
triadic
#B2BE2D #2DB2BE #BE2DB2
tetradic
#B2BE2D #2DBE81 #392DBE #BE2D69
square
#B2BE2D #2DBE81 #392DBE #BE2D69
split-complementary
#B2BE2D #2D69BE #812DBE
monochromatic
#555B16 #848D21 #B2BE2D #CBD652 #DAE284

Accessibility & contrast

On white

2.04
#B2BE2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#B2BE2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BE2D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BE2D#FFFFFF#000000##000000
##B2BE2D1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB404
Deuteranopia (green-blind)
#CCB73A
Tritanopia (blue-blind)
#BEB3A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b2be2d;
/* rgb */ color: rgb(178, 190, 45);
/* oklch */ color: oklch(76.7% 0.159 114.4);
Tailwind
colors: {
  custom: {
    50: '#cdd172',
    500: '#b2be2d',
    950: '#000000',
  },
}
SCSS
$custom: #b2be2d;
$custom-light: #cdd172;
$custom-dark: #000000;
JSON
{
  "hex": "#b2be2d",
  "rgb": {
    "r": 178,
    "g": 190,
    "b": 45
  },
  "hsl": {
    "h": 64.966,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7673,
    "c": 0.15943,
    "h": 114.4
  },
  "luminance": 0.46481
}

Semantic roles & 50–950 ramp

primary
#B2BE2D
secondary
#827CCB
accent
#43E550
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2BE2D

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

Preview Lab → · Contrast checker → · Palette generator →

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