#B2C634#B2C634

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

Color values

HEX#B2C634
RGBrgb(178, 198, 52)
HSLhsl(68, 58%, 49%)
HSVhsv(68, 74%, 78%)
CMYKcmyk(10.1%, 0%, 73.7%, 22.4%)
CIE-LABlab(76.13, -25.02, 66.11)
CIE-LCHlch(76.13, 70.69, 110.73°)
OKLaboklab(78.57% -0.0752 0.1461)
OKLCHoklch(78.57% 0.164 117.2)
XYZxyz(39.1750, 50.1015, 10.8550)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C634 #4834C6
analogous
#C69134 #B2C634 #69C634
triadic
#B2C634 #34B2C6 #C634B2
tetradic
#B2C634 #34C691 #4834C6 #C63469
square
#B2C634 #34C691 #4834C6 #C63469
split-complementary
#B2C634 #3469C6 #9134C6
monochromatic
#5B651B #869627 #B2C634 #C6D662 #D7E292

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2C634#FFFFFF#000000##000000
##B2C6341.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)
#D4BB14
Deuteranopia (green-blind)
#D2BD41
Tritanopia (blue-blind)
#BDBBAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b2c634;
/* rgb */ color: rgb(178, 198, 52);
/* oklch */ color: oklch(78.6% 0.164 117.2);
Tailwind
colors: {
  custom: {
    50: '#cdd776',
    500: '#b2c634',
    950: '#000000',
  },
}
SCSS
$custom: #b2c634;
$custom-light: #cdd776;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c634",
  "rgb": {
    "r": 178,
    "g": 198,
    "b": 52
  },
  "hsl": {
    "h": 68.219,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78568,
    "c": 0.16434,
    "h": 117.2
  },
  "luminance": 0.50101
}

Semantic roles & 50–950 ramp

primary
#B2C634
secondary
#382F6F
accent
#46E25B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C634

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

Preview Lab → · Contrast checker → · Palette generator →

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