#B9C835#B9C835

#B9C835 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.38:1 contrast (WCAG AA passes).

Color values

HEX#B9C835
RGBrgb(185, 200, 53)
HSLhsl(66, 58%, 50%)
HSVhsv(66, 74%, 78%)
CMYKcmyk(7.5%, 0%, 73.5%, 21.6%)
CIE-LABlab(77.21, -23.04, 66.98)
CIE-LCHlch(77.21, 70.83, 108.98°)
OKLaboklab(79.56% -0.07 0.1479)
OKLCHoklch(79.56% 0.164 115.3)
XYZxyz(41.3056, 51.8806, 11.2055)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C835 #4435C8
analogous
#C88D35 #B9C835 #70C835
triadic
#B9C835 #35B9C8 #C835B9
tetradic
#B9C835 #35C88D #4435C8 #C83570
square
#B9C835 #35C88D #4435C8 #C83570
split-complementary
#B9C835 #3570C8 #8D35C8
monochromatic
#5F671B #8C9828 #B9C835 #CAD664 #DBE395

Accessibility & contrast

On white

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

On black

11.38
#B9C835 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C835
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C835#FFFFFF#000000##000000
##B9C8351.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9c835;
/* rgb */ color: rgb(185, 200, 53);
/* oklch */ color: oklch(79.6% 0.164 115.3);
Tailwind
colors: {
  custom: {
    50: '#d2d877',
    500: '#b9c835',
    950: '#000000',
  },
}
SCSS
$custom: #b9c835;
$custom-light: #d2d877;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c835",
  "rgb": {
    "r": 185,
    "g": 200,
    "b": 53
  },
  "hsl": {
    "h": 66.122,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79564,
    "c": 0.16365,
    "h": 115.3
  },
  "luminance": 0.5188
}

Semantic roles & 50–950 ramp

primary
#B9C835
secondary
#373071
accent
#46E156
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C835

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

Preview Lab → · Contrast checker → · Palette generator →

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