#B2C138#B2C138

#B2C138 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.5% C 0.156 H 115.6°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#B2C138
RGBrgb(178, 193, 56)
HSLhsl(67, 55%, 49%)
HSVhsv(67, 71%, 76%)
CMYKcmyk(7.8%, 0%, 71%, 24.3%)
CIE-LABlab(74.76, -22.38, 63.40)
CIE-LCHlch(74.76, 67.23, 109.44°)
OKLaboklab(77.47% -0.0676 0.1411)
OKLCHoklch(77.47% 0.156 115.6)
XYZxyz(38.1449, 47.8910, 10.9751)
Luminance0.4789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C138 #4738C1
analogous
#C18C38 #B2C138 #6EC138
triadic
#B2C138 #38B2C1 #C138B2
tetradic
#B2C138 #38C18C #4738C1 #C1386E
square
#B2C138 #38C18C #4738C1 #C1386E
split-complementary
#B2C138 #386EC1 #8C38C1
monochromatic
#5B621C #86922A #B2C138 #C6D264 #D7E094

Accessibility & contrast

On white

1.99
#B2C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#B2C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C138
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C138#FFFFFF#000000##000000
##B2C1381.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB720
Deuteranopia (green-blind)
#CDB943
Tritanopia (blue-blind)
#BDB6A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b2c138;
/* rgb */ color: rgb(178, 193, 56);
/* oklch */ color: oklch(77.5% 0.156 115.6);
Tailwind
colors: {
  custom: {
    50: '#ccd378',
    500: '#b2c138',
    950: '#000000',
  },
}
SCSS
$custom: #b2c138;
$custom-light: #ccd378;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c138",
  "rgb": {
    "r": 178,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 66.569,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77471,
    "c": 0.15641,
    "h": 115.6
  },
  "luminance": 0.4789
}

Semantic roles & 50–950 ramp

primary
#B2C138
secondary
#918ACB
accent
#49DE5A
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B2C138

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

Preview Lab → · Contrast checker → · Palette generator →

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