#B2BE38#B2BE38

#B2BE38 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.8% C 0.153 H 114.5°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#B2BE38
RGBrgb(178, 190, 56)
HSLhsl(65, 54%, 48%)
HSVhsv(65, 71%, 75%)
CMYKcmyk(6.3%, 0%, 70.5%, 25.5%)
CIE-LABlab(73.92, -20.90, 62.58)
CIE-LCHlch(73.92, 65.98, 108.47°)
OKLaboklab(76.8% -0.0635 0.1393)
OKLCHoklch(76.8% 0.153 114.5)
XYZxyz(37.4884, 46.5781, 10.7562)
Luminance0.4658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BE38 #4438BE
analogous
#BE8738 #B2BE38 #6FBE38
triadic
#B2BE38 #38B2BE #BE38B2
tetradic
#B2BE38 #38BE87 #4438BE #BE386F
square
#B2BE38 #38BE87 #4438BE #BE386F
split-complementary
#B2BE38 #386FBE #8738BE
monochromatic
#595F1C #868F2A #B2BE38 #C7D162 #D8DF92

Accessibility & contrast

On white

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

On black

10.32
#B2BE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BE38
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BE38#FFFFFF#000000##000000
##B2BE381.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#BEB3A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b2be38;
/* rgb */ color: rgb(178, 190, 56);
/* oklch */ color: oklch(76.8% 0.153 114.5);
Tailwind
colors: {
  custom: {
    50: '#ccd177',
    500: '#b2be38',
    950: '#000000',
  },
}
SCSS
$custom: #b2be38;
$custom-light: #ccd177;
$custom-dark: #000000;
JSON
{
  "hex": "#b2be38",
  "rgb": {
    "r": 178,
    "g": 190,
    "b": 56
  },
  "hsl": {
    "h": 65.373,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76799,
    "c": 0.15311,
    "h": 114.5
  },
  "luminance": 0.46577
}

Semantic roles & 50–950 ramp

primary
#B2BE38
secondary
#8E88CA
accent
#4ADE57
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B2BE38

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

Preview Lab → · Contrast checker → · Palette generator →

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