#B6B237#B6B237

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

Color values

HEX#B6B237
RGBrgb(182, 178, 55)
HSLhsl(58, 54%, 46%)
HSVhsv(58, 70%, 71%)
CMYKcmyk(0%, 2.2%, 69.8%, 28.6%)
CIE-LABlab(70.91, -13.19, 60.10)
CIE-LCHlch(70.91, 61.53, 102.38°)
OKLaboklab(74.47% -0.0422 0.1338)
OKLCHoklch(74.47% 0.14 107.5)
XYZxyz(35.9027, 42.0629, 9.8414)
Luminance0.4206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B237 #373BB6
analogous
#B67337 #B6B237 #7BB637
triadic
#B6B237 #37B6B2 #B237B6
tetradic
#B6B237 #37B673 #373BB6 #B6377B
square
#B6B237 #37B673 #373BB6 #B6377B
split-complementary
#B6B237 #377BB6 #7337B6
monochromatic
#58561B #878429 #B6B237 #CECA5C #DCDA8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6B237#FFFFFF#000000##000000
##B6B2371.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)
#C1AB23
Deuteranopia (green-blind)
#C3B040
Tritanopia (blue-blind)
#C3A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b6b237;
/* rgb */ color: rgb(182, 178, 55);
/* oklch */ color: oklch(74.5% 0.140 107.5);
Tailwind
colors: {
  custom: {
    50: '#cfc876',
    500: '#b6b237',
    950: '#000000',
  },
}
SCSS
$custom: #b6b237;
$custom-light: #cfc876;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b237",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 58.11,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74473,
    "c": 0.14032,
    "h": 107.5
  },
  "luminance": 0.42062
}

Semantic roles & 50–950 ramp

primary
#B6B237
secondary
#8285C6
accent
#4FDD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B237

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

Preview Lab → · Contrast checker → · Palette generator →

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