#B2C336#B2C336

#B2C336 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 77.9% C 0.160 H 116.3°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#B2C336
RGBrgb(178, 195, 54)
HSLhsl(67, 57%, 49%)
HSVhsv(67, 72%, 76%)
CMYKcmyk(8.7%, 0%, 72.3%, 23.5%)
CIE-LABlab(75.30, -23.46, 64.64)
CIE-LCHlch(75.30, 68.76, 109.95°)
OKLaboklab(77.91% -0.0708 0.1433)
OKLCHoklch(77.91% 0.16 116.3)
XYZxyz(38.5420, 48.7621, 10.8710)
Luminance0.4876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C336 #4736C3
analogous
#C38E36 #B2C336 #6CC336
triadic
#B2C336 #36B2C3 #C336B2
tetradic
#B2C336 #36C38E #4736C3 #C3366C
square
#B2C336 #36C38E #4736C3 #C3366C
split-complementary
#B2C336 #366CC3 #8E36C3
monochromatic
#5B631B #869329 #B2C336 #C6D463 #D7E192

Accessibility & contrast

On white

1.95
#B2C336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#B2C336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C336
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C336#FFFFFF#000000##000000
##B2C3361.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91B
Deuteranopia (green-blind)
#CFBA42
Tritanopia (blue-blind)
#BDB8A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b2c336;
/* rgb */ color: rgb(178, 195, 54);
/* oklch */ color: oklch(77.9% 0.160 116.3);
Tailwind
colors: {
  custom: {
    50: '#ccd577',
    500: '#b2c336',
    950: '#000000',
  },
}
SCSS
$custom: #b2c336;
$custom-light: #ccd577;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c336",
  "rgb": {
    "r": 178,
    "g": 195,
    "b": 54
  },
  "hsl": {
    "h": 67.234,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77906,
    "c": 0.15985,
    "h": 116.3
  },
  "luminance": 0.48762
}

Semantic roles & 50–950 ramp

primary
#B2C336
secondary
#9189CC
accent
#48E05A
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B2C336

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

Preview Lab → · Contrast checker → · Palette generator →

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