#B6B338#B6B338

#B6B338 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.7% C 0.141 H 108.0°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B6B338
RGBrgb(182, 179, 56)
HSLhsl(59, 53%, 47%)
HSVhsv(59, 69%, 71%)
CMYKcmyk(0%, 1.6%, 69.2%, 28.6%)
CIE-LABlab(71.20, -13.65, 59.99)
CIE-LCHlch(71.20, 61.53, 102.82°)
OKLaboklab(74.7% -0.0434 0.1338)
OKLCHoklch(74.7% 0.141 108)
XYZxyz(36.1266, 42.4720, 10.0355)
Luminance0.4247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B338 #383BB6
analogous
#B67438 #B6B338 #7AB638
triadic
#B6B338 #38B6B3 #B338B6
tetradic
#B6B338 #38B674 #383BB6 #B6387A
square
#B6B338 #38B674 #383BB6 #B6387A
split-complementary
#B6B338 #387AB6 #7438B6
monochromatic
#58571B #87852A #B6B338 #CDCB5E #DCDA8D

Accessibility & contrast

On white

2.21
#B6B338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B6B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B338
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B338#FFFFFF#000000##000000
##B6B3381.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#C4B041
Tritanopia (blue-blind)
#C3A79B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b6b338;
/* rgb */ color: rgb(182, 179, 56);
/* oklch */ color: oklch(74.7% 0.141 108.0);
Tailwind
colors: {
  custom: {
    50: '#cfc976',
    500: '#b6b338',
    950: '#000000',
  },
}
SCSS
$custom: #b6b338;
$custom-light: #cfc976;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b338",
  "rgb": {
    "r": 182,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 58.571,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74699,
    "c": 0.14064,
    "h": 108
  },
  "luminance": 0.42471
}

Semantic roles & 50–950 ramp

primary
#B6B338
secondary
#8485C6
accent
#4FDC4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B338

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

Preview Lab → · Contrast checker → · Palette generator →

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