#B6C342#B6C342

#B6C342 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.3% C 0.151 H 114.9°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#B6C342
RGBrgb(182, 195, 66)
HSLhsl(66, 52%, 51%)
HSVhsv(66, 66%, 76%)
CMYKcmyk(6.7%, 0%, 66.2%, 23.5%)
CIE-LABlab(75.68, -21.13, 60.64)
CIE-LCHlch(75.68, 64.22, 109.21°)
OKLaboklab(78.31% -0.0634 0.1368)
OKLCHoklch(78.31% 0.151 114.9)
XYZxyz(39.7909, 49.3693, 12.5863)
Luminance0.4937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C342 #4F42C3
analogous
#C38F42 #B6C342 #75C342
triadic
#B6C342 #42B6C3 #C342B6
tetradic
#B6C342 #42C38F #4F42C3 #C34275
square
#B6C342 #42C38F #4F42C3 #C34275
split-complementary
#B6C342 #4275C3 #8F42C3
monochromatic
#626921 #8D9830 #B6C342 #C8D270 #DAE09F

Accessibility & contrast

On white

1.93
#B6C342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#B6C342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C342
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C342#FFFFFF#000000##000000
##B6C3421.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B930
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#C1B8A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b6c342;
/* rgb */ color: rgb(182, 195, 66);
/* oklch */ color: oklch(78.3% 0.151 114.9);
Tailwind
colors: {
  custom: {
    50: '#cfd57d',
    500: '#b6c342',
    950: '#000000',
  },
}
SCSS
$custom: #b6c342;
$custom-light: #cfd57d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c342",
  "rgb": {
    "r": 182,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 66.047,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78308,
    "c": 0.15073,
    "h": 114.9
  },
  "luminance": 0.49369
}

Semantic roles & 50–950 ramp

primary
#B6C342
secondary
#9A94CD
accent
#4DDB5B
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#14140A
muted
#83837C

Preview Lab

Preview with #B6C342

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

Preview Lab → · Contrast checker → · Palette generator →

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