#B2BD2D#B2BD2D

#B2BD2D is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.5% C 0.158 H 114.0°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#B2BD2D
RGBrgb(178, 189, 45)
HSLhsl(65, 62%, 46%)
HSVhsv(65, 76%, 74%)
CMYKcmyk(5.8%, 0%, 76.2%, 25.9%)
CIE-LABlab(73.58, -20.92, 65.99)
CIE-LCHlch(73.58, 69.23, 107.59°)
OKLaboklab(76.51% -0.0645 0.1446)
OKLCHoklch(76.51% 0.158 114)
XYZxyz(37.0325, 46.0504, 9.4199)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BD2D #382DBD
analogous
#BD802D #B2BD2D #6ABD2D
triadic
#B2BD2D #2DB2BD #BD2DB2
tetradic
#B2BD2D #2DBD80 #382DBD #BD2D6A
square
#B2BD2D #2DBD80 #382DBD #BD2D6A
split-complementary
#B2BD2D #2D6ABD #802DBD
monochromatic
#555A15 #838C21 #B2BD2D #CCD652 #DAE183

Accessibility & contrast

On white

2.06
#B2BD2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#B2BD2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BD2D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BD2D#FFFFFF#000000##000000
##B2BD2D1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB405
Deuteranopia (green-blind)
#CBB63A
Tritanopia (blue-blind)
#BEB2A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b2bd2d;
/* rgb */ color: rgb(178, 189, 45);
/* oklch */ color: oklch(76.5% 0.158 114.0);
Tailwind
colors: {
  custom: {
    50: '#cdd072',
    500: '#b2bd2d',
    950: '#000000',
  },
}
SCSS
$custom: #b2bd2d;
$custom-light: #cdd072;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bd2d",
  "rgb": {
    "r": 178,
    "g": 189,
    "b": 45
  },
  "hsl": {
    "h": 64.583,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76506,
    "c": 0.15837,
    "h": 114
  },
  "luminance": 0.4605
}

Semantic roles & 50–950 ramp

primary
#B2BD2D
secondary
#817BCB
accent
#43E54F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2BD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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