#B6CB38#B6CB38

#B6CB38 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.0% C 0.166 H 117.5°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#B6CB38
RGBrgb(182, 203, 56)
HSLhsl(69, 59%, 51%)
HSVhsv(69, 72%, 80%)
CMYKcmyk(10.3%, 0%, 72.4%, 20.4%)
CIE-LABlab(77.84, -25.59, 66.49)
CIE-LCHlch(77.84, 71.25, 111.05°)
OKLaboklab(80.02% -0.0767 0.1475)
OKLCHoklch(80.02% 0.166 117.5)
XYZxyz(41.3621, 52.9429, 11.7807)
Luminance0.5294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6CB38 #4D38CB
analogous
#CB9638 #B6CB38 #6DCB38
triadic
#B6CB38 #38B6CB #CB38B6
tetradic
#B6CB38 #38CB96 #4D38CB #CB386D
square
#B6CB38 #38CB96 #4D38CB #CB386D
split-complementary
#B6CB38 #386DCB #9638CB
monochromatic
#616C1C #8C9D29 #B6CB38 #C8D869 #DAE499

Accessibility & contrast

On white

1.81
#B6CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#B6CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6CB38
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6CB38#FFFFFF#000000##000000
##B6CB381.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01B
Deuteranopia (green-blind)
#D7C144
Tritanopia (blue-blind)
#C1C0AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b6cb38;
/* rgb */ color: rgb(182, 203, 56);
/* oklch */ color: oklch(80.0% 0.166 117.5);
Tailwind
colors: {
  custom: {
    50: '#cfda79',
    500: '#b6cb38',
    950: '#000000',
  },
}
SCSS
$custom: #b6cb38;
$custom-light: #cfda79;
$custom-dark: #000000;
JSON
{
  "hex": "#b6cb38",
  "rgb": {
    "r": 182,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 68.571,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.80022,
    "c": 0.16622,
    "h": 117.5
  },
  "luminance": 0.52942
}

Semantic roles & 50–950 ramp

primary
#B6CB38
secondary
#3B3176
accent
#46E25C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B6CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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