#B6C338#B6C338

#B6C338 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.2% C 0.157 H 114.8°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#B6C338
RGBrgb(182, 195, 56)
HSLhsl(66, 55%, 49%)
HSVhsv(66, 71%, 76%)
CMYKcmyk(6.7%, 0%, 71.3%, 23.5%)
CIE-LABlab(75.61, -21.69, 64.34)
CIE-LCHlch(75.61, 67.90, 108.63°)
OKLaboklab(78.23% -0.0659 0.1429)
OKLCHoklch(78.23% 0.157 114.8)
XYZxyz(39.5214, 49.2615, 11.1671)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C338 #4538C3
analogous
#C38B38 #B6C338 #70C338
triadic
#B6C338 #38B6C3 #C338B6
tetradic
#B6C338 #38C38B #4538C3 #C33870
square
#B6C338 #38C38B #4538C3 #C33870
split-complementary
#B6C338 #3870C3 #8B38C3
monochromatic
#5D641D #8A932A #B6C338 #C9D365 #D9E195

Accessibility & contrast

On white

1.94
#B6C338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#B6C338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C338
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C338#FFFFFF#000000##000000
##B6C3381.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91F
Deuteranopia (green-blind)
#D0BB43
Tritanopia (blue-blind)
#C2B8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b6c338;
/* rgb */ color: rgb(182, 195, 56);
/* oklch */ color: oklch(78.2% 0.157 114.8);
Tailwind
colors: {
  custom: {
    50: '#cfd578',
    500: '#b6c338',
    950: '#000000',
  },
}
SCSS
$custom: #b6c338;
$custom-light: #cfd578;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c338",
  "rgb": {
    "r": 182,
    "g": 195,
    "b": 56
  },
  "hsl": {
    "h": 65.612,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.78233,
    "c": 0.15738,
    "h": 114.8
  },
  "luminance": 0.49261
}

Semantic roles & 50–950 ramp

primary
#B6C338
secondary
#918BCC
accent
#49DF57
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B6C338

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

Preview Lab → · Contrast checker → · Palette generator →

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