#B9C834#B9C834

#B9C834 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.6% C 0.164 H 115.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#B9C834
RGBrgb(185, 200, 52)
HSLhsl(66, 59%, 49%)
HSVhsv(66, 74%, 78%)
CMYKcmyk(7.5%, 0%, 74%, 21.6%)
CIE-LABlab(77.20, -23.08, 67.31)
CIE-LCHlch(77.20, 71.16, 108.93°)
OKLaboklab(79.56% -0.0703 0.1484)
OKLCHoklch(79.56% 0.164 115.3)
XYZxyz(41.2828, 51.8715, 11.0856)
Luminance0.5187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C834 #4334C8
analogous
#C88D34 #B9C834 #6FC834
triadic
#B9C834 #34B9C8 #C834B9
tetradic
#B9C834 #34C88D #4334C8 #C8346F
square
#B9C834 #34C88D #4334C8 #C8346F
split-complementary
#B9C834 #346FC8 #8D34C8
monochromatic
#5F671B #8C9727 #B9C834 #CBD663 #DBE393

Accessibility & contrast

On white

1.85
#B9C834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#B9C834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C834
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C834#FFFFFF#000000##000000
##B9C8341.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE13
Deuteranopia (green-blind)
#D5C041
Tritanopia (blue-blind)
#C5BCAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c834;
/* rgb */ color: rgb(185, 200, 52);
/* oklch */ color: oklch(79.6% 0.164 115.3);
Tailwind
colors: {
  custom: {
    50: '#d2d877',
    500: '#b9c834',
    950: '#000000',
  },
}
SCSS
$custom: #b9c834;
$custom-light: #d2d877;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c834",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 52
  },
  "hsl": {
    "h": 66.081,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79558,
    "c": 0.16421,
    "h": 115.3
  },
  "luminance": 0.51871
}

Semantic roles & 50–950 ramp

primary
#B9C834
secondary
#362F71
accent
#46E256
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C834

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

Preview Lab → · Contrast checker → · Palette generator →

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