#B2C734#B2C734

#B2C734 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 78.8% C 0.165 H 117.6°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#B2C734
RGBrgb(178, 199, 52)
HSLhsl(69, 59%, 49%)
HSVhsv(69, 74%, 78%)
CMYKcmyk(10.6%, 0%, 73.9%, 22%)
CIE-LABlab(76.41, -25.50, 66.38)
CIE-LCHlch(76.41, 71.11, 111.02°)
OKLaboklab(78.79% -0.0766 0.1467)
OKLCHoklch(78.79% 0.165 117.6)
XYZxyz(39.4043, 50.5602, 10.9314)
Luminance0.5056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C734 #4934C7
analogous
#C79234 #B2C734 #69C734
triadic
#B2C734 #34B2C7 #C734B2
tetradic
#B2C734 #34C792 #4934C7 #C73469
square
#B2C734 #34C792 #4934C7 #C73469
split-complementary
#B2C734 #3469C7 #9234C7
monochromatic
#5B661B #879627 #B2C734 #C5D662 #D7E393

Accessibility & contrast

On white

1.89
#B2C734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#B2C734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C734
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C734#FFFFFF#000000##000000
##B2C7341.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c734;
/* rgb */ color: rgb(178, 199, 52);
/* oklch */ color: oklch(78.8% 0.165 117.6);
Tailwind
colors: {
  custom: {
    50: '#cdd776',
    500: '#b2c734',
    950: '#000000',
  },
}
SCSS
$custom: #b2c734;
$custom-light: #cdd776;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c734",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 52
  },
  "hsl": {
    "h": 68.571,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78793,
    "c": 0.16546,
    "h": 117.6
  },
  "luminance": 0.5056
}

Semantic roles & 50–950 ramp

primary
#B2C734
secondary
#382F70
accent
#46E25C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2C734

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

Preview Lab → · Contrast checker → · Palette generator →

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