#B2C135#B2C135

#B2C135 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.5% C 0.158 H 115.6°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#B2C135
RGBrgb(178, 193, 53)
HSLhsl(66, 57%, 48%)
HSVhsv(66, 73%, 76%)
CMYKcmyk(7.8%, 0%, 72.5%, 24.3%)
CIE-LABlab(74.74, -22.53, 64.44)
CIE-LCHlch(74.74, 68.27, 109.27°)
OKLaboklab(77.45% -0.0683 0.1427)
OKLCHoklch(77.45% 0.158 115.6)
XYZxyz(38.0737, 47.8626, 10.6002)
Luminance0.4786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C135 #4435C1
analogous
#C18A35 #B2C135 #6CC135
triadic
#B2C135 #35B2C1 #C135B2
tetradic
#B2C135 #35C18A #4435C1 #C1356C
square
#B2C135 #35C18A #4435C1 #C1356C
split-complementary
#B2C135 #356CC1 #8A35C1
monochromatic
#59611B #869128 #B2C135 #C7D360 #D8E090

Accessibility & contrast

On white

1.99
#B2C135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#B2C135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C135
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C135#FFFFFF#000000##000000
##B2C1351.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB71A
Deuteranopia (green-blind)
#CEB941
Tritanopia (blue-blind)
#BDB6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c135;
/* rgb */ color: rgb(178, 193, 53);
/* oklch */ color: oklch(77.5% 0.158 115.6);
Tailwind
colors: {
  custom: {
    50: '#ccd376',
    500: '#b2c135',
    950: '#000000',
  },
}
SCSS
$custom: #b2c135;
$custom-light: #ccd376;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c135",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 53
  },
  "hsl": {
    "h": 66.429,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7745,
    "c": 0.15824,
    "h": 115.6
  },
  "luminance": 0.47862
}

Semantic roles & 50–950 ramp

primary
#B2C135
secondary
#8E87CB
accent
#48E058
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C135

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

Preview Lab → · Contrast checker → · Palette generator →

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