#B2C237#B2C237

#B2C237 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.7% C 0.158 H 115.9°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#B2C237
RGBrgb(178, 194, 55)
HSLhsl(67, 56%, 49%)
HSVhsv(67, 72%, 76%)
CMYKcmyk(8.2%, 0%, 71.6%, 23.9%)
CIE-LABlab(75.03, -22.92, 64.02)
CIE-LCHlch(75.03, 68.00, 109.70°)
OKLaboklab(77.69% -0.0692 0.1422)
OKLCHoklch(77.69% 0.158 115.9)
XYZxyz(38.3425, 48.3250, 10.9215)
Luminance0.4832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C237 #4737C2
analogous
#C28D37 #B2C237 #6DC237
triadic
#B2C237 #37B2C2 #C237B2
tetradic
#B2C237 #37C28D #4737C2 #C2376D
square
#B2C237 #37C28D #4737C2 #C2376D
split-complementary
#B2C237 #376DC2 #8D37C2
monochromatic
#5B631C #869229 #B2C237 #C6D363 #D7E093

Accessibility & contrast

On white

1.97
#B2C237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#B2C237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C237
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C237#FFFFFF#000000##000000
##B2C2371.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81D
Deuteranopia (green-blind)
#CEBA42
Tritanopia (blue-blind)
#BDB7A7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c237;
/* rgb */ color: rgb(178, 194, 55);
/* oklch */ color: oklch(77.7% 0.158 115.9);
Tailwind
colors: {
  custom: {
    50: '#ccd477',
    500: '#b2c237',
    950: '#000000',
  },
}
SCSS
$custom: #b2c237;
$custom-light: #ccd477;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c237",
  "rgb": {
    "r": 178,
    "g": 194,
    "b": 55
  },
  "hsl": {
    "h": 66.906,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77688,
    "c": 0.15814,
    "h": 115.9
  },
  "luminance": 0.48324
}

Semantic roles & 50–950 ramp

primary
#B2C237
secondary
#9189CB
accent
#49DF5A
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C237

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

Preview Lab → · Contrast checker → · Palette generator →

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