#B9B232#B9B232

#B9B232 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.7% C 0.143 H 106.2°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#B9B232
RGBrgb(185, 178, 50)
HSLhsl(57, 57%, 46%)
HSVhsv(57, 73%, 73%)
CMYKcmyk(0%, 3.8%, 73%, 27.5%)
CIE-LABlab(71.14, -12.14, 62.23)
CIE-LCHlch(71.14, 63.41, 101.04°)
OKLaboklab(74.7% -0.0399 0.1373)
OKLCHoklch(74.7% 0.143 106.2)
XYZxyz(36.5052, 42.3867, 9.2755)
Luminance0.4239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B232 #3239B9
analogous
#B96E32 #B9B232 #7CB932
triadic
#B9B232 #32B9B2 #B232B9
tetradic
#B9B232 #32B96E #3239B9 #B9327C
square
#B9B232 #32B96E #3239B9 #B9327C
split-complementary
#B9B232 #327CB9 #6E32B9
monochromatic
#595518 #898425 #B9B232 #D2CB57 #DFDA87

Accessibility & contrast

On white

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

On black

9.48
#B9B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B232
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B232#FFFFFF#000000##000000
##B9B2321.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9b232;
/* rgb */ color: rgb(185, 178, 50);
/* oklch */ color: oklch(74.7% 0.143 106.2);
Tailwind
colors: {
  custom: {
    50: '#d2c873',
    500: '#b9b232',
    950: '#000000',
  },
}
SCSS
$custom: #b9b232;
$custom-light: #d2c873;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b232",
  "rgb": {
    "r": 185,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 56.889,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74701,
    "c": 0.14302,
    "h": 106.2
  },
  "luminance": 0.42385
}

Semantic roles & 50–950 ramp

primary
#B9B232
secondary
#7F82C8
accent
#4FE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B232

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

Preview Lab → · Contrast checker → · Palette generator →

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