#B2BC2F#B2BC2F

#B2BC2F is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.3% C 0.156 H 113.7°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B2BC2F
RGBrgb(178, 188, 47)
HSLhsl(64, 60%, 46%)
HSVhsv(64, 75%, 74%)
CMYKcmyk(5.3%, 0%, 75%, 26.3%)
CIE-LABlab(73.31, -20.34, 65.10)
CIE-LCHlch(73.31, 68.21, 107.35°)
OKLaboklab(76.29% -0.0627 0.1431)
OKLCHoklch(76.29% 0.156 113.7)
XYZxyz(36.8575, 45.6374, 9.5561)
Luminance0.4564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BC2F #392FBC
analogous
#BC7F2F #B2BC2F #6BBC2F
triadic
#B2BC2F #2FB2BC #BC2FB2
tetradic
#B2BC2F #2FBC7F #392FBC #BC2F6B
square
#B2BC2F #2FBC7F #392FBC #BC2F6B
split-complementary
#B2BC2F #2F6BBC #7F2FBC
monochromatic
#555A17 #848B23 #B2BC2F #CBD454 #DAE085

Accessibility & contrast

On white

2.07
#B2BC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#B2BC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BC2F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BC2F#FFFFFF#000000##000000
##B2BC2F1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB30D
Deuteranopia (green-blind)
#CAB53B
Tritanopia (blue-blind)
#BEB1A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b2bc2f;
/* rgb */ color: rgb(178, 188, 47);
/* oklch */ color: oklch(76.3% 0.156 113.7);
Tailwind
colors: {
  custom: {
    50: '#cdd073',
    500: '#b2bc2f',
    950: '#000000',
  },
}
SCSS
$custom: #b2bc2f;
$custom-light: #cdd073;
$custom-dark: #000000;
JSON
{
  "hex": "#b2bc2f",
  "rgb": {
    "r": 178,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 64.255,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76294,
    "c": 0.15625,
    "h": 113.7
  },
  "luminance": 0.45637
}

Semantic roles & 50–950 ramp

primary
#B2BC2F
secondary
#827DCA
accent
#45E350
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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