#B9C232#B9C232

#B9C232 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.2% C 0.159 H 113.2°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#B9C232
RGBrgb(185, 194, 50)
HSLhsl(64, 59%, 48%)
HSVhsv(64, 74%, 76%)
CMYKcmyk(4.6%, 0%, 74.2%, 23.9%)
CIE-LABlab(75.53, -20.22, 66.39)
CIE-LCHlch(75.53, 69.40, 106.94°)
OKLaboklab(78.21% -0.0625 0.1461)
OKLCHoklch(78.21% 0.159 113.2)
XYZxyz(39.8763, 49.1290, 10.3992)
Luminance0.4913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C232 #3B32C2
analogous
#C28332 #B9C232 #71C232
triadic
#B9C232 #32B9C2 #C232B9
tetradic
#B9C232 #32C283 #3B32C2 #C23271
square
#B9C232 #32C283 #3B32C2 #C23271
split-complementary
#B9C232 #3271C2 #8332C2
monochromatic
#5C6119 #8B9125 #B9C232 #CDD55C #DCE28D

Accessibility & contrast

On white

1.94
#B9C232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#B9C232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C232
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C232#FFFFFF#000000##000000
##B9C2321.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B911
Deuteranopia (green-blind)
#D1BC3E
Tritanopia (blue-blind)
#C6B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b9c232;
/* rgb */ color: rgb(185, 194, 50);
/* oklch */ color: oklch(78.2% 0.159 113.2);
Tailwind
colors: {
  custom: {
    50: '#d2d475',
    500: '#b9c232',
    950: '#000000',
  },
}
SCSS
$custom: #b9c232;
$custom-light: #d2d475;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c232",
  "rgb": {
    "r": 185,
    "g": 194,
    "b": 50
  },
  "hsl": {
    "h": 63.75,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78213,
    "c": 0.15894,
    "h": 113.2
  },
  "luminance": 0.49128
}

Semantic roles & 50–950 ramp

primary
#B9C232
secondary
#8884CC
accent
#46E24F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9C232

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

Preview Lab → · Contrast checker → · Palette generator →

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