#B9C930#B9C930

#B9C930 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 79.8% C 0.167 H 115.6°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#B9C930
RGBrgb(185, 201, 48)
HSLhsl(66, 61%, 49%)
HSVhsv(66, 76%, 79%)
CMYKcmyk(8%, 0%, 76.1%, 21.2%)
CIE-LABlab(77.46, -23.74, 68.82)
CIE-LCHlch(77.46, 72.80, 109.04°)
OKLaboklab(79.76% -0.0724 0.1509)
OKLCHoklch(79.76% 0.167 115.6)
XYZxyz(41.4289, 52.3016, 10.7085)
Luminance0.5230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C930 #4030C9
analogous
#C98D30 #B9C930 #6CC930
triadic
#B9C930 #30B9C9 #C930B9
tetradic
#B9C930 #30C98D #4030C9 #C9306C
square
#B9C930 #30C98D #4030C9 #C9306C
split-complementary
#B9C930 #306CC9 #8D30C9
monochromatic
#5E6618 #8C9824 #B9C930 #CCD85E #DBE48F

Accessibility & contrast

On white

1.83
#B9C930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#B9C930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C930
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C930#FFFFFF#000000##000000
##B9C9301.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE04
Deuteranopia (green-blind)
#D6C03E
Tritanopia (blue-blind)
#C5BDAC
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c930;
/* rgb */ color: rgb(185, 201, 48);
/* oklch */ color: oklch(79.8% 0.167 115.6);
Tailwind
colors: {
  custom: {
    50: '#d2d975',
    500: '#b9c930',
    950: '#000000',
  },
}
SCSS
$custom: #b9c930;
$custom-light: #d2d975;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c930",
  "rgb": {
    "r": 185,
    "g": 201,
    "b": 48
  },
  "hsl": {
    "h": 66.275,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79757,
    "c": 0.16741,
    "h": 115.6
  },
  "luminance": 0.52301
}

Semantic roles & 50–950 ramp

primary
#B9C930
secondary
#342D70
accent
#43E554
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C930

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

Preview Lab → · Contrast checker → · Palette generator →

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