#B6B738#B6B738

#B6B738 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.6% C 0.145 H 109.9°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#B6B738
RGBrgb(182, 183, 56)
HSLhsl(60, 53%, 47%)
HSVhsv(60, 69%, 72%)
CMYKcmyk(0.5%, 0%, 69.4%, 28.2%)
CIE-LABlab(72.29, -15.69, 61.08)
CIE-LCHlch(72.29, 63.07, 104.41°)
OKLaboklab(75.58% -0.0491 0.1361)
OKLCHoklch(75.58% 0.145 109.9)
XYZxyz(36.9400, 44.0986, 10.3066)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B738 #3938B7
analogous
#B77838 #B6B738 #77B738
triadic
#B6B738 #38B6B7 #B738B6
tetradic
#B6B738 #38B778 #3938B7 #B73877
square
#B6B738 #38B778 #3938B7 #B73877
split-complementary
#B6B738 #3877B7 #7838B7
monochromatic
#59591B #87882A #B6B738 #CDCE5E #DCDC8D

Accessibility & contrast

On white

2.14
#B6B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#B6B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B738
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B738#FFFFFF#000000##000000
##B6B7381.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF23
Deuteranopia (green-blind)
#C7B341
Tritanopia (blue-blind)
#C3AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b6b738;
/* rgb */ color: rgb(182, 183, 56);
/* oklch */ color: oklch(75.6% 0.145 109.9);
Tailwind
colors: {
  custom: {
    50: '#cfcc77',
    500: '#b6b738',
    950: '#000000',
  },
}
SCSS
$custom: #b6b738;
$custom-light: #cfcc77;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b738",
  "rgb": {
    "r": 182,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 60.472,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75576,
    "c": 0.14467,
    "h": 109.9
  },
  "luminance": 0.44098
}

Semantic roles & 50–950 ramp

primary
#B6B738
secondary
#8584C7
accent
#4BDD4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B738

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

Preview Lab → · Contrast checker → · Palette generator →

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