#B6B138#B6B138

#B6B138 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.3% C 0.139 H 107.0°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#B6B138
RGBrgb(182, 177, 56)
HSLhsl(58, 53%, 47%)
HSVhsv(58, 69%, 71%)
CMYKcmyk(0%, 2.7%, 69.2%, 28.6%)
CIE-LABlab(70.65, -12.63, 59.45)
CIE-LCHlch(70.65, 60.78, 101.99°)
OKLaboklab(74.26% -0.0405 0.1326)
OKLCHoklch(74.26% 0.139 107)
XYZxyz(35.7287, 41.6761, 9.9029)
Luminance0.4168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B138 #383DB6
analogous
#B67238 #B6B138 #7CB638
triadic
#B6B138 #38B6B1 #B138B6
tetradic
#B6B138 #38B672 #383DB6 #B6387C
square
#B6B138 #38B672 #383DB6 #B6387C
split-complementary
#B6B138 #387CB6 #7238B6
monochromatic
#58561B #87832A #B6B138 #CDC95E #DCD98D

Accessibility & contrast

On white

2.25
#B6B138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#B6B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B138
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B138#FFFFFF#000000##000000
##B6B1381.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA25
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#C3A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b138;
/* rgb */ color: rgb(182, 177, 56);
/* oklch */ color: oklch(74.3% 0.139 107.0);
Tailwind
colors: {
  custom: {
    50: '#cfc876',
    500: '#b6b138',
    950: '#000000',
  },
}
SCSS
$custom: #b6b138;
$custom-light: #cfc876;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b138",
  "rgb": {
    "r": 182,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 57.619,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74262,
    "c": 0.13867,
    "h": 107
  },
  "luminance": 0.41675
}

Semantic roles & 50–950 ramp

primary
#B6B138
secondary
#8486C6
accent
#51DC4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B138

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

Preview Lab → · Contrast checker → · Palette generator →

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