#B2C037#B2C037

#B2C037 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.2% C 0.156 H 115.2°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#B2C037
RGBrgb(178, 192, 55)
HSLhsl(66, 55%, 48%)
HSVhsv(66, 71%, 75%)
CMYKcmyk(7.3%, 0%, 71.4%, 24.7%)
CIE-LABlab(74.47, -21.94, 63.48)
CIE-LCHlch(74.47, 67.16, 109.07°)
OKLaboklab(77.24% -0.0664 0.1411)
OKLCHoklch(77.24% 0.156 115.2)
XYZxyz(37.9003, 47.4407, 10.7741)
Luminance0.4744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C037 #4537C0
analogous
#C08937 #B2C037 #6DC037
triadic
#B2C037 #37B2C0 #C037B2
tetradic
#B2C037 #37C089 #4537C0 #C0376D
square
#B2C037 #37C089 #4537C0 #C0376D
split-complementary
#B2C037 #376DC0 #8937C0
monochromatic
#5A611C #869029 #B2C037 #C7D262 #D8E092

Accessibility & contrast

On white

2.00
#B2C037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#B2C037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C037
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C037#FFFFFF#000000##000000
##B2C0371.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB61E
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#BDB5A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c037;
/* rgb */ color: rgb(178, 192, 55);
/* oklch */ color: oklch(77.2% 0.156 115.2);
Tailwind
colors: {
  custom: {
    50: '#ccd277',
    500: '#b2c037',
    950: '#000000',
  },
}
SCSS
$custom: #b2c037;
$custom-light: #ccd277;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c037",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 55
  },
  "hsl": {
    "h": 66.131,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7724,
    "c": 0.15593,
    "h": 115.2
  },
  "luminance": 0.4744
}

Semantic roles & 50–950 ramp

primary
#B2C037
secondary
#8F88CB
accent
#49DF58
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C037

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

Preview Lab → · Contrast checker → · Palette generator →

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