#B2B839#B2B839

#B2B839 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.146 H 112.1°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#B2B839
RGBrgb(178, 184, 57)
HSLhsl(63, 53%, 47%)
HSVhsv(63, 69%, 72%)
CMYKcmyk(3.3%, 0%, 69%, 27.8%)
CIE-LABlab(72.26, -17.85, 60.56)
CIE-LCHlch(72.26, 63.14, 106.42°)
OKLaboklab(75.47% -0.0549 0.1353)
OKLCHoklch(75.47% 0.146 112.1)
XYZxyz(36.2402, 44.0422, 10.4620)
Luminance0.4404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B839 #3F39B8
analogous
#B87F39 #B2B839 #72B839
triadic
#B2B839 #39B2B8 #B839B2
tetradic
#B2B839 #39B87F #3F39B8 #B83972
square
#B2B839 #39B87F #3F39B8 #B83972
split-complementary
#B2B839 #3972B8 #7F39B8
monochromatic
#585B1C #85892B #B2B839 #C9CE60 #D9DC8F

Accessibility & contrast

On white

2.14
#B2B839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#B2B839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B839
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B839#FFFFFF#000000##000000
##B2B8391.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B025
Deuteranopia (green-blind)
#C6B342
Tritanopia (blue-blind)
#BEAD9F
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b2b839;
/* rgb */ color: rgb(178, 184, 57);
/* oklch */ color: oklch(75.5% 0.146 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccd77',
    500: '#b2b839',
    950: '#000000',
  },
}
SCSS
$custom: #b2b839;
$custom-light: #cccd77;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b839",
  "rgb": {
    "r": 178,
    "g": 184,
    "b": 57
  },
  "hsl": {
    "h": 62.835,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7547,
    "c": 0.14596,
    "h": 112.1
  },
  "luminance": 0.44041
}

Semantic roles & 50–950 ramp

primary
#B2B839
secondary
#8986C7
accent
#4CDC53
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B839

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

Preview Lab → · Contrast checker → · Palette generator →

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