#B6C038#B6C038

#B6C038 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.6% C 0.154 H 113.6°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#B6C038
RGBrgb(182, 192, 56)
HSLhsl(64, 55%, 49%)
HSVhsv(64, 71%, 75%)
CMYKcmyk(5.2%, 0%, 70.8%, 24.7%)
CIE-LABlab(74.78, -20.21, 63.53)
CIE-LCHlch(74.78, 66.66, 107.65°)
OKLaboklab(77.57% -0.0618 0.1412)
OKLCHoklch(77.57% 0.154 113.6)
XYZxyz(38.8560, 47.9307, 10.9453)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6C038 #4238C0
analogous
#C08638 #B6C038 #72C038
triadic
#B6C038 #38B6C0 #C038B6
tetradic
#B6C038 #38C086 #4238C0 #C03872
square
#B6C038 #38C086 #4238C0 #C03872
split-complementary
#B6C038 #3872C0 #8638C0
monochromatic
#5C611C #89912A #B6C038 #CAD264 #DADF93

Accessibility & contrast

On white

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

On black

10.59
#B6C038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6C038
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6C038#FFFFFF#000000##000000
##B6C0381.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB720
Deuteranopia (green-blind)
#CEB943
Tritanopia (blue-blind)
#C2B5A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b6c038;
/* rgb */ color: rgb(182, 192, 56);
/* oklch */ color: oklch(77.6% 0.154 113.6);
Tailwind
colors: {
  custom: {
    50: '#cfd278',
    500: '#b6c038',
    950: '#000000',
  },
}
SCSS
$custom: #b6c038;
$custom-light: #cfd278;
$custom-dark: #000000;
JSON
{
  "hex": "#b6c038",
  "rgb": {
    "r": 182,
    "g": 192,
    "b": 56
  },
  "hsl": {
    "h": 64.412,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77566,
    "c": 0.15413,
    "h": 113.6
  },
  "luminance": 0.4793
}

Semantic roles & 50–950 ramp

primary
#B6C038
secondary
#8E89CB
accent
#4ADE55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B6C038

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

Preview Lab → · Contrast checker → · Palette generator →

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