#B9B233#B9B233

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

Color values

HEX#B9B233
RGBrgb(185, 178, 51)
HSLhsl(57, 57%, 46%)
HSVhsv(57, 72%, 73%)
CMYKcmyk(0%, 3.8%, 72.4%, 27.5%)
CIE-LABlab(71.14, -12.09, 61.88)
CIE-LCHlch(71.14, 63.05, 101.06°)
OKLaboklab(74.71% -0.0397 0.1368)
OKLCHoklch(74.71% 0.142 106.2)
XYZxyz(36.5270, 42.3954, 9.3904)
Luminance0.4239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B233 #333AB9
analogous
#B96F33 #B9B233 #7DB933
triadic
#B9B233 #33B9B2 #B233B9
tetradic
#B9B233 #33B96F #333AB9 #B9337D
square
#B9B233 #33B96F #333AB9 #B9337D
split-complementary
#B9B233 #337DB9 #6F33B9
monochromatic
#595619 #898426 #B9B233 #D1CB58 #DEDA88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B233#FFFFFF#000000##000000
##B9B2331.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)
#C1AB1C
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#C7A699
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b233;
/* rgb */ color: rgb(185, 178, 51);
/* oklch */ color: oklch(74.7% 0.142 106.2);
Tailwind
colors: {
  custom: {
    50: '#d2c874',
    500: '#b9b233',
    950: '#000000',
  },
}
SCSS
$custom: #b9b233;
$custom-light: #d2c874;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b233",
  "rgb": {
    "r": 185,
    "g": 178,
    "b": 51
  },
  "hsl": {
    "h": 56.866,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74708,
    "c": 0.14242,
    "h": 106.2
  },
  "luminance": 0.42394
}

Semantic roles & 50–950 ramp

primary
#B9B233
secondary
#8083C8
accent
#50E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B233

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

Preview Lab → · Contrast checker → · Palette generator →

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