#B2C635#B2C635

#B2C635 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.6% C 0.164 H 117.3°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#B2C635
RGBrgb(178, 198, 53)
HSLhsl(68, 58%, 49%)
HSVhsv(68, 73%, 78%)
CMYKcmyk(10.1%, 0%, 73.2%, 22.4%)
CIE-LABlab(76.14, -24.97, 65.78)
CIE-LCHlch(76.14, 70.36, 110.79°)
OKLaboklab(78.57% -0.075 0.1456)
OKLCHoklch(78.57% 0.164 117.3)
XYZxyz(39.1977, 50.1106, 10.9749)
Luminance0.5011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C635 #4935C6
analogous
#C69235 #B2C635 #6AC635
triadic
#B2C635 #35B2C6 #C635B2
tetradic
#B2C635 #35C692 #4935C6 #C6356A
square
#B2C635 #35C692 #4935C6 #C6356A
split-complementary
#B2C635 #356AC6 #9235C6
monochromatic
#5B651B #879628 #B2C635 #C5D563 #D7E293

Accessibility & contrast

On white

1.91
#B2C635 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#B2C635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C635
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C635#FFFFFF#000000##000000
##B2C6351.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB17
Deuteranopia (green-blind)
#D2BD41
Tritanopia (blue-blind)
#BDBBAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b2c635;
/* rgb */ color: rgb(178, 198, 53);
/* oklch */ color: oklch(78.6% 0.164 117.3);
Tailwind
colors: {
  custom: {
    50: '#cdd777',
    500: '#b2c635',
    950: '#000000',
  },
}
SCSS
$custom: #b2c635;
$custom-light: #cdd777;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c635",
  "rgb": {
    "r": 178,
    "g": 198,
    "b": 53
  },
  "hsl": {
    "h": 68.276,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78574,
    "c": 0.16378,
    "h": 117.3
  },
  "luminance": 0.5011
}

Semantic roles & 50–950 ramp

primary
#B2C635
secondary
#382F70
accent
#47E15C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C635

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

Preview Lab → · Contrast checker → · Palette generator →

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