#B2C638#B2C638

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

Color values

HEX#B2C638
RGBrgb(178, 198, 56)
HSLhsl(68, 56%, 50%)
HSVhsv(68, 72%, 78%)
CMYKcmyk(10.1%, 0%, 71.7%, 22.4%)
CIE-LABlab(76.15, -24.82, 64.76)
CIE-LCHlch(76.15, 69.36, 110.97°)
OKLaboklab(78.59% -0.0743 0.1439)
OKLCHoklch(78.59% 0.162 117.3)
XYZxyz(39.2689, 50.1391, 11.3498)
Luminance0.5014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C638 #4C38C6
analogous
#C69338 #B2C638 #6BC638
triadic
#B2C638 #38B2C6 #C638B2
tetradic
#B2C638 #38C693 #4C38C6 #C6386B
square
#B2C638 #38C693 #4C38C6 #C6386B
split-complementary
#B2C638 #386BC6 #9338C6
monochromatic
#5C671D #87962B #B2C638 #C5D467 #D7E297

Accessibility & contrast

On white

1.90
#B2C638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#B2C638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C638
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C638#FFFFFF#000000##000000
##B2C6381.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1E
Deuteranopia (green-blind)
#D1BD44
Tritanopia (blue-blind)
#BDBBAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b2c638;
/* rgb */ color: rgb(178, 198, 56);
/* oklch */ color: oklch(78.6% 0.162 117.3);
Tailwind
colors: {
  custom: {
    50: '#ccd778',
    500: '#b2c638',
    950: '#000000',
  },
}
SCSS
$custom: #b2c638;
$custom-light: #ccd778;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c638",
  "rgb": {
    "r": 178,
    "g": 198,
    "b": 56
  },
  "hsl": {
    "h": 68.451,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78594,
    "c": 0.16201,
    "h": 117.3
  },
  "luminance": 0.50139
}

Semantic roles & 50–950 ramp

primary
#B2C638
secondary
#3A3171
accent
#49DF5E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2C638

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

Preview Lab → · Contrast checker → · Palette generator →

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