#B6B236#B6B236

#B6B236 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.5% C 0.141 H 107.5°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#B6B236
RGBrgb(182, 178, 54)
HSLhsl(58, 54%, 46%)
HSVhsv(58, 70%, 71%)
CMYKcmyk(0%, 2.2%, 70.3%, 28.6%)
CIE-LABlab(70.91, -13.24, 60.47)
CIE-LCHlch(70.91, 61.90, 102.35°)
OKLaboklab(74.47% -0.0425 0.1344)
OKLCHoklch(74.47% 0.141 107.5)
XYZxyz(35.8790, 42.0534, 9.7165)
Luminance0.4205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B236 #363AB6
analogous
#B67236 #B6B236 #7AB636
triadic
#B6B236 #36B6B2 #B236B6
tetradic
#B6B236 #36B672 #363AB6 #B6367A
square
#B6B236 #36B672 #363AB6 #B6367A
split-complementary
#B6B236 #367AB6 #7236B6
monochromatic
#58561A #878428 #B6B236 #CECB5B #DCDA8A

Accessibility & contrast

On white

2.23
#B6B236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#B6B236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B236
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B236#FFFFFF#000000##000000
##B6B2361.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB21
Deuteranopia (green-blind)
#C3B03F
Tritanopia (blue-blind)
#C3A69A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b236;
/* rgb */ color: rgb(182, 178, 54);
/* oklch */ color: oklch(74.5% 0.141 107.5);
Tailwind
colors: {
  custom: {
    50: '#cfc875',
    500: '#b6b236',
    950: '#000000',
  },
}
SCSS
$custom: #b6b236;
$custom-light: #cfc875;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b236",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 58.125,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74465,
    "c": 0.14097,
    "h": 107.5
  },
  "luminance": 0.42052
}

Semantic roles & 50–950 ramp

primary
#B6B236
secondary
#8183C6
accent
#4FDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B236

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

Preview Lab → · Contrast checker → · Palette generator →

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