#B2B337#B2B337

#B2B337 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.3% C 0.142 H 109.9°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B2B337
RGBrgb(178, 179, 55)
HSLhsl(60, 53%, 46%)
HSVhsv(60, 69%, 70%)
CMYKcmyk(0.6%, 0%, 69.3%, 29.8%)
CIE-LABlab(70.86, -15.43, 59.93)
CIE-LCHlch(70.86, 61.88, 104.43°)
OKLaboklab(74.35% -0.0483 0.1336)
OKLCHoklch(74.35% 0.142 109.9)
XYZxyz(35.1710, 41.9820, 9.8643)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B337 #3837B3
analogous
#B37637 #B2B337 #74B337
triadic
#B2B337 #37B2B3 #B337B2
tetradic
#B2B337 #37B376 #3837B3 #B33774
square
#B2B337 #37B376 #3837B3 #B33774
split-complementary
#B2B337 #3774B3 #7637B3
monochromatic
#55551A #838429 #B2B337 #CCCD5B #DADB8A

Accessibility & contrast

On white

2.23
#B2B337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B2B337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B337
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B337#FFFFFF#000000##000000
##B2B3371.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB23
Deuteranopia (green-blind)
#C3AF40
Tritanopia (blue-blind)
#BEA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b337;
/* rgb */ color: rgb(178, 179, 55);
/* oklch */ color: oklch(74.3% 0.142 109.9);
Tailwind
colors: {
  custom: {
    50: '#ccc976',
    500: '#b2b337',
    950: '#000000',
  },
}
SCSS
$custom: #b2b337;
$custom-light: #ccc976;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b337",
  "rgb": {
    "r": 178,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 60.484,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74348,
    "c": 0.14204,
    "h": 109.9
  },
  "luminance": 0.41981
}

Semantic roles & 50–950 ramp

primary
#B2B337
secondary
#8181C5
accent
#4BDC4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B337

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

Preview Lab → · Contrast checker → · Palette generator →

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