#B2C738#B2C738

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

Color values

HEX#B2C738
RGBrgb(178, 199, 56)
HSLhsl(69, 56%, 50%)
HSVhsv(69, 72%, 78%)
CMYKcmyk(10.6%, 0%, 71.9%, 22%)
CIE-LABlab(76.43, -25.30, 65.03)
CIE-LCHlch(76.43, 69.78, 111.26°)
OKLaboklab(78.82% -0.0757 0.1445)
OKLCHoklch(78.82% 0.163 117.6)
XYZxyz(39.4982, 50.5978, 11.4262)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C738 #4D38C7
analogous
#C79438 #B2C738 #6BC738
triadic
#B2C738 #38B2C7 #C738B2
tetradic
#B2C738 #38C794 #4D38C7 #C7386B
square
#B2C738 #38C794 #4D38C7 #C7386B
split-complementary
#B2C738 #386BC7 #9438C7
monochromatic
#5D671D #87972B #B2C738 #C4D468 #D7E298

Accessibility & contrast

On white

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

On black

11.12
#B2C738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C738
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C738#FFFFFF#000000##000000
##B2C7381.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC1D
Deuteranopia (green-blind)
#D2BD44
Tritanopia (blue-blind)
#BDBCAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c738;
/* rgb */ color: rgb(178, 199, 56);
/* oklch */ color: oklch(78.8% 0.163 117.6);
Tailwind
colors: {
  custom: {
    50: '#ccd778',
    500: '#b2c738',
    950: '#000000',
  },
}
SCSS
$custom: #b2c738;
$custom-light: #ccd778;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c738",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 56
  },
  "hsl": {
    "h": 68.811,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.78819,
    "c": 0.16313,
    "h": 117.6
  },
  "luminance": 0.50597
}

Semantic roles & 50–950 ramp

primary
#B2C738
secondary
#3B3272
accent
#48DF5F
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B2C738

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

Preview Lab → · Contrast checker → · Palette generator →

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