#B6C438#B6C438

#B6C438 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.5% C 0.158 H 115.1°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#B6C438
RGBrgb(182, 196, 56)
HSLhsl(66, 56%, 49%)
HSVhsv(66, 71%, 77%)
CMYKcmyk(7.1%, 0%, 71.4%, 23.1%)
CIE-LABlab(75.89, -22.18, 64.61)
CIE-LCHlch(75.89, 68.31, 108.95°)
OKLaboklab(78.46% -0.0673 0.1435)
OKLCHoklch(78.46% 0.158 115.1)
XYZxyz(39.7462, 49.7111, 11.2420)
Luminance0.4971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C438 #4638C4
analogous
#C48C38 #B6C438 #70C438
triadic
#B6C438 #38B6C4 #C438B6
tetradic
#B6C438 #38C48C #4638C4 #C43870
square
#B6C438 #38C48C #4638C4 #C43870
split-complementary
#B6C438 #3870C4 #8C38C4
monochromatic
#5E651D #8A942A #B6C438 #C8D366 #D9E196

Accessibility & contrast

On white

1.92
#B6C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#B6C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C438
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C438#FFFFFF#000000##000000
##B6C4381.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1E
Deuteranopia (green-blind)
#D1BC43
Tritanopia (blue-blind)
#C2B9A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b6c438;
/* rgb */ color: rgb(182, 196, 56);
/* oklch */ color: oklch(78.5% 0.158 115.1);
Tailwind
colors: {
  custom: {
    50: '#cfd578',
    500: '#b6c438',
    950: '#000000',
  },
}
SCSS
$custom: #b6c438;
$custom-light: #cfd578;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c438",
  "rgb": {
    "r": 182,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 66,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78456,
    "c": 0.15847,
    "h": 115.1
  },
  "luminance": 0.4971
}

Semantic roles & 50–950 ramp

primary
#B6C438
secondary
#928CCC
accent
#49DF58
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B6C438

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

Preview Lab → · Contrast checker → · Palette generator →

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