#B9C233#B9C233

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

Color values

HEX#B9C233
RGBrgb(185, 194, 51)
HSLhsl(64, 58%, 48%)
HSVhsv(64, 74%, 76%)
CMYKcmyk(4.6%, 0%, 73.7%, 23.9%)
CIE-LABlab(75.54, -20.18, 66.07)
CIE-LCHlch(75.54, 69.08, 106.98°)
OKLaboklab(78.22% -0.0623 0.1456)
OKLCHoklch(78.22% 0.158 113.2)
XYZxyz(39.8982, 49.1378, 10.5141)
Luminance0.4914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C233 #3C33C2
analogous
#C28333 #B9C233 #72C233
triadic
#B9C233 #33B9C2 #C233B9
tetradic
#B9C233 #33C283 #3C33C2 #C23372
square
#B9C233 #33C283 #3C33C2 #C23372
split-complementary
#B9C233 #3372C2 #8333C2
monochromatic
#5D611A #8B9226 #B9C233 #CDD55E #DCE18E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C233#FFFFFF#000000##000000
##B9C2331.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)
#D1B914
Deuteranopia (green-blind)
#D1BC3F
Tritanopia (blue-blind)
#C6B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b9c233;
/* rgb */ color: rgb(185, 194, 51);
/* oklch */ color: oklch(78.2% 0.158 113.2);
Tailwind
colors: {
  custom: {
    50: '#d2d475',
    500: '#b9c233',
    950: '#000000',
  },
}
SCSS
$custom: #b9c233;
$custom-light: #d2d475;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c233",
  "rgb": {
    "r": 185,
    "g": 194,
    "b": 51
  },
  "hsl": {
    "h": 63.776,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78219,
    "c": 0.15839,
    "h": 113.2
  },
  "luminance": 0.49137
}

Semantic roles & 50–950 ramp

primary
#B9C233
secondary
#8985CC
accent
#46E250
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9C233

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

Preview Lab → · Contrast checker → · Palette generator →

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