#B2B037#B2B037

#B2B037 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.7% C 0.139 H 108.4°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B2B037
RGBrgb(178, 176, 55)
HSLhsl(59, 53%, 46%)
HSVhsv(59, 69%, 70%)
CMYKcmyk(0%, 1.1%, 69.1%, 30.2%)
CIE-LABlab(70.03, -13.89, 59.11)
CIE-LCHlch(70.03, 60.72, 103.22°)
OKLaboklab(73.69% -0.044 0.1319)
OKLCHoklch(73.69% 0.139 108.4)
XYZxyz(34.5763, 40.7926, 9.6661)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B037 #3739B2
analogous
#B27237 #B2B037 #77B237
triadic
#B2B037 #37B2B0 #B037B2
tetradic
#B2B037 #37B272 #3739B2 #B23777
square
#B2B037 #37B272 #3739B2 #B23777
split-complementary
#B2B037 #3777B2 #7237B2
monochromatic
#54541A #838229 #B2B037 #CCCA5A #DBD989

Accessibility & contrast

On white

2.29
#B2B037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#B2B037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B037
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B037#FFFFFF#000000##000000
##B2B0371.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA924
Deuteranopia (green-blind)
#C0AD3F
Tritanopia (blue-blind)
#BFA598
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b037;
/* rgb */ color: rgb(178, 176, 55);
/* oklch */ color: oklch(73.7% 0.139 108.4);
Tailwind
colors: {
  custom: {
    50: '#ccc775',
    500: '#b2b037',
    950: '#000000',
  },
}
SCSS
$custom: #b2b037;
$custom-light: #ccc775;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b037",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 55
  },
  "hsl": {
    "h": 59.024,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73686,
    "c": 0.13899,
    "h": 108.4
  },
  "luminance": 0.40791
}

Semantic roles & 50–950 ramp

primary
#B2B037
secondary
#8081C5
accent
#4EDC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B037

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

Preview Lab → · Contrast checker → · Palette generator →

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