#B2C134#B2C134

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

Color values

HEX#B2C134
RGBrgb(178, 193, 52)
HSLhsl(66, 58%, 48%)
HSVhsv(66, 73%, 76%)
CMYKcmyk(7.8%, 0%, 73.1%, 24.3%)
CIE-LABlab(74.73, -22.58, 64.78)
CIE-LCHlch(74.73, 68.60, 109.22°)
OKLaboklab(77.44% -0.0685 0.1433)
OKLCHoklch(77.44% 0.159 115.5)
XYZxyz(38.0509, 47.8534, 10.4803)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C134 #4334C1
analogous
#C18934 #B2C134 #6BC134
triadic
#B2C134 #34B2C1 #C134B2
tetradic
#B2C134 #34C189 #4334C1 #C1346B
square
#B2C134 #34C189 #4334C1 #C1346B
split-complementary
#B2C134 #346BC1 #8934C1
monochromatic
#59611A #869127 #B2C134 #C7D45E #D8E18F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C134#FFFFFF#000000##000000
##B2C1341.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)
#CFB717
Deuteranopia (green-blind)
#CEB940
Tritanopia (blue-blind)
#BEB6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c134;
/* rgb */ color: rgb(178, 193, 52);
/* oklch */ color: oklch(77.4% 0.159 115.5);
Tailwind
colors: {
  custom: {
    50: '#cdd376',
    500: '#b2c134',
    950: '#000000',
  },
}
SCSS
$custom: #b2c134;
$custom-light: #cdd376;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c134",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 52
  },
  "hsl": {
    "h": 66.383,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.77444,
    "c": 0.15883,
    "h": 115.5
  },
  "luminance": 0.47853
}

Semantic roles & 50–950 ramp

primary
#B2C134
secondary
#8D86CB
accent
#47E157
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C134

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

Preview Lab → · Contrast checker → · Palette generator →

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