#B6CA38#B6CA38

#B6CA38 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.8% C 0.165 H 117.2°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#B6CA38
RGBrgb(182, 202, 56)
HSLhsl(68, 58%, 51%)
HSVhsv(68, 72%, 79%)
CMYKcmyk(9.9%, 0%, 72.3%, 20.8%)
CIE-LABlab(77.56, -25.11, 66.22)
CIE-LCHlch(77.56, 70.82, 110.76°)
OKLaboklab(79.8% -0.0754 0.1469)
OKLCHoklch(79.8% 0.165 117.2)
XYZxyz(41.1267, 52.4722, 11.7022)
Luminance0.5247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6CA38 #4C38CA
analogous
#CA9538 #B6CA38 #6DCA38
triadic
#B6CA38 #38B6CA #CA38B6
tetradic
#B6CA38 #38CA95 #4C38CA #CA386D
square
#B6CA38 #38CA95 #4C38CA #CA386D
split-complementary
#B6CA38 #386DCA #9538CA
monochromatic
#606B1D #8C9B29 #B6CA38 #C8D768 #D9E499

Accessibility & contrast

On white

1.83
#B6CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#B6CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6CA38
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6CA38#FFFFFF#000000##000000
##B6CA381.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1C
Deuteranopia (green-blind)
#D6C044
Tritanopia (blue-blind)
#C1BFAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b6ca38;
/* rgb */ color: rgb(182, 202, 56);
/* oklch */ color: oklch(79.8% 0.165 117.2);
Tailwind
colors: {
  custom: {
    50: '#cfda79',
    500: '#b6ca38',
    950: '#000000',
  },
}
SCSS
$custom: #b6ca38;
$custom-light: #cfda79;
$custom-dark: #000000;
JSON
{
  "hex": "#b6ca38",
  "rgb": {
    "r": 182,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 68.219,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79798,
    "c": 0.1651,
    "h": 117.2
  },
  "luminance": 0.52472
}

Semantic roles & 50–950 ramp

primary
#B6CA38
secondary
#3B3175
accent
#47E15C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B6CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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