#B2BE2A#B2BE2A

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

Color values

HEX#B2BE2A
RGBrgb(178, 190, 42)
HSLhsl(65, 64%, 45%)
HSVhsv(65, 78%, 75%)
CMYKcmyk(6.3%, 0%, 77.9%, 25.5%)
CIE-LABlab(73.84, -21.54, 67.14)
CIE-LCHlch(73.84, 70.51, 107.79°)
OKLaboklab(76.71% -0.0664 0.1466)
OKLCHoklch(76.71% 0.161 114.4)
XYZxyz(37.1926, 46.4598, 9.1984)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BE2A #362ABE
analogous
#BE802A #B2BE2A #68BE2A
triadic
#B2BE2A #2AB2BE #BE2AB2
tetradic
#B2BE2A #2ABE80 #362ABE #BE2A68
square
#B2BE2A #2ABE80 #362ABE #BE2A68
split-complementary
#B2BE2A #2A68BE #802ABE
monochromatic
#545A14 #838C1F #B2BE2A #CDD84D #DBE380

Accessibility & contrast

On white

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

On black

10.29
#B2BE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BE2A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BE2A#FFFFFF#000000##000000
##B2BE2A1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CCB738
Tritanopia (blue-blind)
#BEB2A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b2be2a;
/* rgb */ color: rgb(178, 190, 42);
/* oklch */ color: oklch(76.7% 0.161 114.4);
Tailwind
colors: {
  custom: {
    50: '#cdd171',
    500: '#b2be2a',
    950: '#000000',
  },
}
SCSS
$custom: #b2be2a;
$custom-light: #cdd171;
$custom-dark: #000000;
JSON
{
  "hex": "#b2be2a",
  "rgb": {
    "r": 178,
    "g": 190,
    "b": 42
  },
  "hsl": {
    "h": 64.865,
    "s": 63.793,
    "l": 45.49
  },
  "oklch": {
    "l": 0.76714,
    "c": 0.16093,
    "h": 114.4
  },
  "luminance": 0.46459
}

Semantic roles & 50–950 ramp

primary
#B2BE2A
secondary
#7F78CB
accent
#41E74E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B2BE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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