#B6CF38#B6CF38

#B6CF38 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 80.9% C 0.171 H 118.7°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#B6CF38
RGBrgb(182, 207, 56)
HSLhsl(70, 61%, 52%)
HSVhsv(70, 73%, 81%)
CMYKcmyk(12.1%, 0%, 72.9%, 18.8%)
CIE-LABlab(78.96, -27.50, 67.57)
CIE-LCHlch(78.96, 72.95, 112.15°)
OKLaboklab(80.92% -0.082 0.1497)
OKLCHoklch(80.92% 0.171 118.7)
XYZxyz(42.3189, 54.8566, 12.0996)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6CF38 #5138CF
analogous
#CF9D38 #B6CF38 #6BCF38
triadic
#B6CF38 #38B6CF #CF38B6
tetradic
#B6CF38 #38CF9D #5138CF #CF386B
square
#B6CF38 #38CF9D #5138CF #CF386B
split-complementary
#B6CF38 #386BCF #9D38CF
monochromatic
#63711B #8EA327 #B6CF38 #C8DB69 #DAE79B

Accessibility & contrast

On white

1.75
#B6CF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#B6CF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6CF38
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6CF38#FFFFFF#000000##000000
##B6CF381.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC319
Deuteranopia (green-blind)
#DAC445
Tritanopia (blue-blind)
#C1C4B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b6cf38;
/* rgb */ color: rgb(182, 207, 56);
/* oklch */ color: oklch(80.9% 0.171 118.7);
Tailwind
colors: {
  custom: {
    50: '#cfdd79',
    500: '#b6cf38',
    950: '#000000',
  },
}
SCSS
$custom: #b6cf38;
$custom-light: #cfdd79;
$custom-dark: #000000;
JSON
{
  "hex": "#b6cf38",
  "rgb": {
    "r": 182,
    "g": 207,
    "b": 56
  },
  "hsl": {
    "h": 69.934,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80921,
    "c": 0.17071,
    "h": 118.7
  },
  "luminance": 0.54856
}

Semantic roles & 50–950 ramp

primary
#B6CF38
secondary
#3D317A
accent
#44E45E
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B6CF38

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

Preview Lab → · Contrast checker → · Palette generator →

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