#B8B232#B8B232

#B8B232 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.143 H 106.7°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#B8B232
RGBrgb(184, 178, 50)
HSLhsl(57, 57%, 46%)
HSVhsv(57, 73%, 72%)
CMYKcmyk(0%, 3.3%, 72.8%, 27.8%)
CIE-LABlab(71.05, -12.57, 62.12)
CIE-LCHlch(71.05, 63.38, 101.44°)
OKLaboklab(74.61% -0.0411 0.1371)
OKLCHoklch(74.61% 0.143 106.7)
XYZxyz(36.2647, 42.2627, 9.2642)
Luminance0.4226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B232 #3238B8
analogous
#B86F32 #B8B232 #7BB832
triadic
#B8B232 #32B8B2 #B232B8
tetradic
#B8B232 #32B86F #3238B8 #B8327B
square
#B8B232 #32B86F #3238B8 #B8327B
split-complementary
#B8B232 #327BB8 #6F32B8
monochromatic
#585518 #888325 #B8B232 #D1CC56 #DEDA86

Accessibility & contrast

On white

2.22
#B8B232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#B8B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B232
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B232#FFFFFF#000000##000000
##B8B2321.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1A
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#C6A699
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8b232;
/* rgb */ color: rgb(184, 178, 50);
/* oklch */ color: oklch(74.6% 0.143 106.7);
Tailwind
colors: {
  custom: {
    50: '#d1c873',
    500: '#b8b232',
    950: '#000000',
  },
}
SCSS
$custom: #b8b232;
$custom-light: #d1c873;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b232",
  "rgb": {
    "r": 184,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 57.313,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74613,
    "c": 0.14315,
    "h": 106.7
  },
  "luminance": 0.42261
}

Semantic roles & 50–950 ramp

primary
#B8B232
secondary
#7E81C8
accent
#4EE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B232

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

Preview Lab → · Contrast checker → · Palette generator →

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