#B6B233#B6B233

#B6B233 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.143 H 107.6°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B6B233
RGBrgb(182, 178, 51)
HSLhsl(58, 56%, 46%)
HSVhsv(58, 72%, 71%)
CMYKcmyk(0%, 2.2%, 72%, 28.6%)
CIE-LABlab(70.89, -13.39, 61.55)
CIE-LCHlch(70.89, 62.99, 102.28°)
OKLaboklab(74.44% -0.0432 0.1362)
OKLCHoklch(74.44% 0.143 107.6)
XYZxyz(35.8107, 42.0261, 9.3568)
Luminance0.4203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B233 #3337B6
analogous
#B67033 #B6B233 #78B633
triadic
#B6B233 #33B6B2 #B233B6
tetradic
#B6B233 #33B670 #3337B6 #B63378
square
#B6B233 #33B670 #3337B6 #B63378
split-complementary
#B6B233 #3378B6 #7033B6
monochromatic
#565418 #868326 #B6B233 #D0CC56 #DDDB86

Accessibility & contrast

On white

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

On black

9.40
#B6B233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B233
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B233#FFFFFF#000000##000000
##B6B2331.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1C
Deuteranopia (green-blind)
#C3B03C
Tritanopia (blue-blind)
#C3A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b6b233;
/* rgb */ color: rgb(182, 178, 51);
/* oklch */ color: oklch(74.4% 0.143 107.6);
Tailwind
colors: {
  custom: {
    50: '#cfc874',
    500: '#b6b233',
    950: '#000000',
  },
}
SCSS
$custom: #b6b233;
$custom-light: #cfc874;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b233",
  "rgb": {
    "r": 182,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 58.168,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74444,
    "c": 0.14285,
    "h": 107.6
  },
  "luminance": 0.42025
}

Semantic roles & 50–950 ramp

primary
#B6B233
secondary
#7E80C7
accent
#4DE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B233

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

Preview Lab → · Contrast checker → · Palette generator →

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