#B6C042#B6C042

#B6C042 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.6% C 0.147 H 113.7°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#B6C042
RGBrgb(182, 192, 66)
HSLhsl(65, 50%, 51%)
HSVhsv(65, 66%, 75%)
CMYKcmyk(5.2%, 0%, 65.6%, 24.7%)
CIE-LABlab(74.85, -19.65, 59.79)
CIE-LCHlch(74.85, 62.93, 108.19°)
OKLaboklab(77.64% -0.0592 0.1349)
OKLCHoklch(77.64% 0.147 113.7)
XYZxyz(39.1254, 48.0385, 12.3645)
Luminance0.4804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C042 #4C42C0
analogous
#C08B42 #B6C042 #77C042
triadic
#B6C042 #42B6C0 #C042B6
tetradic
#B6C042 #42C08B #4C42C0 #C04277
square
#B6C042 #42C08B #4C42C0 #C04277
split-complementary
#B6C042 #4277C0 #8B42C0
monochromatic
#606622 #8C9431 #B6C042 #C8CF70 #D9DF9E

Accessibility & contrast

On white

1.98
#B6C042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#B6C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C042
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C042#FFFFFF#000000##000000
##B6C0421.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB731
Deuteranopia (green-blind)
#CDBA4B
Tritanopia (blue-blind)
#C2B5A6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b6c042;
/* rgb */ color: rgb(182, 192, 66);
/* oklch */ color: oklch(77.6% 0.147 113.7);
Tailwind
colors: {
  custom: {
    50: '#cfd27d',
    500: '#b6c042',
    950: '#000000',
  },
}
SCSS
$custom: #b6c042;
$custom-light: #cfd27d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c042",
  "rgb": {
    "r": 182,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 64.762,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77642,
    "c": 0.14737,
    "h": 113.7
  },
  "luminance": 0.48038
}

Semantic roles & 50–950 ramp

primary
#B6C042
secondary
#9793CB
accent
#4EDA59
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B6C042

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

Preview Lab → · Contrast checker → · Palette generator →

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