#B2BD2F#B2BD2F

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

Color values

HEX#B2BD2F
RGBrgb(178, 189, 47)
HSLhsl(65, 60%, 46%)
HSVhsv(65, 75%, 74%)
CMYKcmyk(5.8%, 0%, 75.1%, 25.9%)
CIE-LABlab(73.59, -20.84, 65.36)
CIE-LCHlch(73.59, 68.60, 107.68°)
OKLaboklab(76.52% -0.0641 0.1437)
OKLCHoklch(76.52% 0.157 114)
XYZxyz(37.0719, 46.0661, 9.6275)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BD2F #3A2FBD
analogous
#BD812F #B2BD2F #6BBD2F
triadic
#B2BD2F #2FB2BD #BD2FB2
tetradic
#B2BD2F #2FBD81 #3A2FBD #BD2F6B
square
#B2BD2F #2FBD81 #3A2FBD #BD2F6B
split-complementary
#B2BD2F #2F6BBD #812FBD
monochromatic
#565B17 #848C23 #B2BD2F #CBD555 #DAE186

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BD2F#FFFFFF#000000##000000
##B2BD2F1.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)
#CBB40C
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#BEB2A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b2bd2f;
/* rgb */ color: rgb(178, 189, 47);
/* oklch */ color: oklch(76.5% 0.157 114.0);
Tailwind
colors: {
  custom: {
    50: '#cdd073',
    500: '#b2bd2f',
    950: '#000000',
  },
}
SCSS
$custom: #b2bd2f;
$custom-light: #cdd073;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bd2f",
  "rgb": {
    "r": 178,
    "g": 189,
    "b": 47
  },
  "hsl": {
    "h": 64.648,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76517,
    "c": 0.15731,
    "h": 114
  },
  "luminance": 0.46065
}

Semantic roles & 50–950 ramp

primary
#B2BD2F
secondary
#837ECA
accent
#44E351
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2BD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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