#B6C238#B6C238

#B6C238 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.0% C 0.156 H 114.4°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#B6C238
RGBrgb(182, 194, 56)
HSLhsl(65, 55%, 49%)
HSVhsv(65, 71%, 76%)
CMYKcmyk(6.2%, 0%, 71.1%, 23.9%)
CIE-LABlab(75.34, -21.20, 64.07)
CIE-LCHlch(75.34, 67.48, 108.31°)
OKLaboklab(78.01% -0.0645 0.1424)
OKLCHoklch(78.01% 0.156 114.4)
XYZxyz(39.2981, 48.8149, 11.0927)
Luminance0.4881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C238 #4438C2
analogous
#C28938 #B6C238 #71C238
triadic
#B6C238 #38B6C2 #C238B6
tetradic
#B6C238 #38C289 #4438C2 #C23871
square
#B6C238 #38C289 #4438C2 #C23871
split-complementary
#B6C238 #3871C2 #8938C2
monochromatic
#5D631D #89932A #B6C238 #C9D265 #DAE094

Accessibility & contrast

On white

1.95
#B6C238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#B6C238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C238
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C238#FFFFFF#000000##000000
##B6C2381.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B81F
Deuteranopia (green-blind)
#CFBB43
Tritanopia (blue-blind)
#C2B7A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b6c238;
/* rgb */ color: rgb(182, 194, 56);
/* oklch */ color: oklch(78.0% 0.156 114.4);
Tailwind
colors: {
  custom: {
    50: '#cfd478',
    500: '#b6c238',
    950: '#000000',
  },
}
SCSS
$custom: #b6c238;
$custom-light: #cfd478;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c238",
  "rgb": {
    "r": 182,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 65.217,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78011,
    "c": 0.15629,
    "h": 114.4
  },
  "luminance": 0.48814
}

Semantic roles & 50–950 ramp

primary
#B6C238
secondary
#908ACB
accent
#49DF56
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B6C238

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

Preview Lab → · Contrast checker → · Palette generator →

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