#B6C538#B6C538

#B6C538 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.7% C 0.160 H 115.5°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#B6C538
RGBrgb(182, 197, 56)
HSLhsl(66, 56%, 50%)
HSVhsv(66, 72%, 77%)
CMYKcmyk(7.6%, 0%, 71.6%, 22.7%)
CIE-LABlab(76.17, -22.67, 64.88)
CIE-LCHlch(76.17, 68.73, 109.26°)
OKLaboklab(78.68% -0.0686 0.1441)
OKLCHoklch(78.68% 0.16 115.5)
XYZxyz(39.9725, 50.1638, 11.3175)
Luminance0.5016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C538 #4738C5
analogous
#C58E38 #B6C538 #70C538
triadic
#B6C538 #38B6C5 #C538B6
tetradic
#B6C538 #38C58E #4738C5 #C53870
square
#B6C538 #38C58E #4738C5 #C53870
split-complementary
#B6C538 #3870C5 #8E38C5
monochromatic
#5E661D #8A952A #B6C538 #C8D467 #D9E196

Accessibility & contrast

On white

1.90
#B6C538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#B6C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C538
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C538#FFFFFF#000000##000000
##B6C5381.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1E
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#C2BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b6c538;
/* rgb */ color: rgb(182, 197, 56);
/* oklch */ color: oklch(78.7% 0.160 115.5);
Tailwind
colors: {
  custom: {
    50: '#cfd678',
    500: '#b6c538',
    950: '#000000',
  },
}
SCSS
$custom: #b6c538;
$custom-light: #cfd678;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c538",
  "rgb": {
    "r": 182,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 66.383,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78679,
    "c": 0.15957,
    "h": 115.5
  },
  "luminance": 0.50163
}

Semantic roles & 50–950 ramp

primary
#B6C538
secondary
#383170
accent
#49DF59
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B6C538

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

Preview Lab → · Contrast checker → · Palette generator →

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