#B2C438#B2C438

#B2C438 is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.1% C 0.160 H 116.7°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#B2C438
RGBrgb(178, 196, 56)
HSLhsl(68, 56%, 49%)
HSVhsv(68, 71%, 77%)
CMYKcmyk(9.2%, 0%, 71.4%, 23.1%)
CIE-LABlab(75.59, -23.85, 64.22)
CIE-LCHlch(75.59, 68.50, 110.37°)
OKLaboklab(78.14% -0.0717 0.1428)
OKLCHoklch(78.14% 0.16 116.7)
XYZxyz(38.8148, 49.2309, 11.1984)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C438 #4A38C4
analogous
#C49038 #B2C438 #6CC438
triadic
#B2C438 #38B2C4 #C438B2
tetradic
#B2C438 #38C490 #4A38C4 #C4386C
square
#B2C438 #38C490 #4A38C4 #C4386C
split-complementary
#B2C438 #386CC4 #9038C4
monochromatic
#5C651D #87942A #B2C438 #C5D366 #D7E196

Accessibility & contrast

On white

1.94
#B2C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#B2C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C438
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C438#FFFFFF#000000##000000
##B2C4381.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA1E
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#BDB9A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b2c438;
/* rgb */ color: rgb(178, 196, 56);
/* oklch */ color: oklch(78.1% 0.160 116.7);
Tailwind
colors: {
  custom: {
    50: '#ccd578',
    500: '#b2c438',
    950: '#000000',
  },
}
SCSS
$custom: #b2c438;
$custom-light: #ccd578;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c438",
  "rgb": {
    "r": 178,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 67.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78144,
    "c": 0.15976,
    "h": 116.7
  },
  "luminance": 0.4923
}

Semantic roles & 50–950 ramp

primary
#B2C438
secondary
#948CCC
accent
#49DF5C
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B2C438

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

Preview Lab → · Contrast checker → · Palette generator →

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