#B6C138#B6C138

#B6C138 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.8% C 0.155 H 114.0°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#B6C138
RGBrgb(182, 193, 56)
HSLhsl(65, 55%, 49%)
HSVhsv(65, 71%, 76%)
CMYKcmyk(5.7%, 0%, 71%, 24.3%)
CIE-LABlab(75.06, -20.71, 63.80)
CIE-LCHlch(75.06, 67.07, 107.98°)
OKLaboklab(77.79% -0.0631 0.1418)
OKLCHoklch(77.79% 0.155 114)
XYZxyz(39.0763, 48.3713, 11.0187)
Luminance0.4837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C138 #4338C1
analogous
#C18838 #B6C138 #72C138
triadic
#B6C138 #38B6C1 #C138B6
tetradic
#B6C138 #38C188 #4338C1 #C13872
square
#B6C138 #38C188 #4338C1 #C13872
split-complementary
#B6C138 #3872C1 #8838C1
monochromatic
#5D621C #89922A #B6C138 #C9D264 #DAE094

Accessibility & contrast

On white

1.97
#B6C138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#B6C138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C138
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C138#FFFFFF#000000##000000
##B6C1381.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB820
Deuteranopia (green-blind)
#CFBA43
Tritanopia (blue-blind)
#C2B6A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b6c138;
/* rgb */ color: rgb(182, 193, 56);
/* oklch */ color: oklch(77.8% 0.155 114.0);
Tailwind
colors: {
  custom: {
    50: '#cfd378',
    500: '#b6c138',
    950: '#000000',
  },
}
SCSS
$custom: #b6c138;
$custom-light: #cfd378;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c138",
  "rgb": {
    "r": 182,
    "g": 193,
    "b": 56
  },
  "hsl": {
    "h": 64.818,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77788,
    "c": 0.15521,
    "h": 114
  },
  "luminance": 0.48371
}

Semantic roles & 50–950 ramp

primary
#B6C138
secondary
#8F8ACB
accent
#49DE55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B6C138

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

Preview Lab → · Contrast checker → · Palette generator →

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