#B2BD38#B2BD38

#B2BD38 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.6% C 0.152 H 114.1°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#B2BD38
RGBrgb(178, 189, 56)
HSLhsl(65, 54%, 48%)
HSVhsv(65, 70%, 74%)
CMYKcmyk(5.8%, 0%, 70.4%, 25.9%)
CIE-LABlab(73.64, -20.40, 62.30)
CIE-LCHlch(73.64, 65.56, 108.13°)
OKLaboklab(76.58% -0.0621 0.1388)
OKLCHoklch(76.58% 0.152 114.1)
XYZxyz(37.2726, 46.1464, 10.6843)
Luminance0.4615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BD38 #4338BD
analogous
#BD8538 #B2BD38 #70BD38
triadic
#B2BD38 #38B2BD #BD38B2
tetradic
#B2BD38 #38BD85 #4338BD #BD3870
square
#B2BD38 #38BD85 #4338BD #BD3870
split-complementary
#B2BD38 #3870BD #8538BD
monochromatic
#595F1C #868E2A #B2BD38 #C7D062 #D8DE91

Accessibility & contrast

On white

2.05
#B2BD38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#B2BD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BD38
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BD38#FFFFFF#000000##000000
##B2BD381.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2bd38;
/* rgb */ color: rgb(178, 189, 56);
/* oklch */ color: oklch(76.6% 0.152 114.1);
Tailwind
colors: {
  custom: {
    50: '#ccd077',
    500: '#b2bd38',
    950: '#000000',
  },
}
SCSS
$custom: #b2bd38;
$custom-light: #ccd077;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bd38",
  "rgb": {
    "r": 178,
    "g": 189,
    "b": 56
  },
  "hsl": {
    "h": 64.962,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.76576,
    "c": 0.15201,
    "h": 114.1
  },
  "luminance": 0.46146
}

Semantic roles & 50–950 ramp

primary
#B2BD38
secondary
#8D87C9
accent
#4ADE56
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B2BD38

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

Preview Lab → · Contrast checker → · Palette generator →

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