#B6C838#B6C838

#B6C838 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.3% C 0.163 H 116.5°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#B6C838
RGBrgb(182, 200, 56)
HSLhsl(68, 57%, 50%)
HSVhsv(68, 72%, 78%)
CMYKcmyk(9%, 0%, 72%, 21.6%)
CIE-LABlab(77.00, -24.14, 65.69)
CIE-LCHlch(77.00, 69.98, 110.18°)
OKLaboklab(79.35% -0.0727 0.1458)
OKLCHoklch(79.35% 0.163 116.5)
XYZxyz(40.6605, 51.5397, 11.5468)
Luminance0.5154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C838 #4A38C8
analogous
#C89238 #B6C838 #6EC838
triadic
#B6C838 #38B6C8 #C838B6
tetradic
#B6C838 #38C892 #4A38C8 #C8386E
square
#B6C838 #38C892 #4A38C8 #C8386E
split-complementary
#B6C838 #386EC8 #9238C8
monochromatic
#5F691D #8B992A #B6C838 #C8D568 #D9E398

Accessibility & contrast

On white

1.86
#B6C838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.31
#B6C838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C838
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C838#FFFFFF#000000##000000
##B6C8381.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD1D
Deuteranopia (green-blind)
#D4BF44
Tritanopia (blue-blind)
#C1BDAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b6c838;
/* rgb */ color: rgb(182, 200, 56);
/* oklch */ color: oklch(79.3% 0.163 116.5);
Tailwind
colors: {
  custom: {
    50: '#cfd878',
    500: '#b6c838',
    950: '#000000',
  },
}
SCSS
$custom: #b6c838;
$custom-light: #cfd878;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c838",
  "rgb": {
    "r": 182,
    "g": 200,
    "b": 56
  },
  "hsl": {
    "h": 67.5,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7935,
    "c": 0.16288,
    "h": 116.5
  },
  "luminance": 0.51539
}

Semantic roles & 50–950 ramp

primary
#B6C838
secondary
#3A3273
accent
#48E05B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B6C838

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

Preview Lab → · Contrast checker → · Palette generator →

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