#B2C835#B2C835

#B2C835 is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.0% C 0.166 H 117.9°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#B2C835
RGBrgb(178, 200, 53)
HSLhsl(69, 58%, 50%)
HSVhsv(69, 74%, 78%)
CMYKcmyk(11%, 0%, 73.5%, 21.6%)
CIE-LABlab(76.70, -25.94, 66.31)
CIE-LCHlch(76.70, 71.21, 111.36°)
OKLaboklab(79.03% -0.0777 0.1467)
OKLCHoklch(79.03% 0.166 117.9)
XYZxyz(39.6579, 51.0310, 11.1283)
Luminance0.5103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C835 #4B35C8
analogous
#C89535 #B2C835 #68C835
triadic
#B2C835 #35B2C8 #C835B2
tetradic
#B2C835 #35C895 #4B35C8 #C83568
square
#B2C835 #35C895 #4B35C8 #C83568
split-complementary
#B2C835 #3568C8 #9535C8
monochromatic
#5C671B #879828 #B2C835 #C5D664 #D7E395

Accessibility & contrast

On white

1.87
#B2C835 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#B2C835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C835
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C835#FFFFFF#000000##000000
##B2C8351.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD16
Deuteranopia (green-blind)
#D3BE42
Tritanopia (blue-blind)
#BDBDAC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c835;
/* rgb */ color: rgb(178, 200, 53);
/* oklch */ color: oklch(79.0% 0.166 117.9);
Tailwind
colors: {
  custom: {
    50: '#cdd877',
    500: '#b2c835',
    950: '#000000',
  },
}
SCSS
$custom: #b2c835;
$custom-light: #cdd877;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c835",
  "rgb": {
    "r": 178,
    "g": 200,
    "b": 53
  },
  "hsl": {
    "h": 68.98,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79025,
    "c": 0.16602,
    "h": 117.9
  },
  "luminance": 0.51031
}

Semantic roles & 50–950 ramp

primary
#B2C835
secondary
#3A3071
accent
#46E15E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C835

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

Preview Lab → · Contrast checker → · Palette generator →

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