#B9C330#B9C330

#B9C330 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.4% C 0.161 H 113.5°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#B9C330
RGBrgb(185, 195, 48)
HSLhsl(64, 60%, 48%)
HSVhsv(64, 75%, 76%)
CMYKcmyk(5.1%, 0%, 75.4%, 23.5%)
CIE-LABlab(75.80, -20.81, 67.29)
CIE-LCHlch(75.80, 70.43, 107.18°)
OKLaboklab(78.42% -0.0643 0.1477)
OKLCHoklch(78.42% 0.161 113.5)
XYZxyz(40.0574, 49.5588, 10.2514)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C330 #3A30C3
analogous
#C38430 #B9C330 #6FC330
triadic
#B9C330 #30B9C3 #C330B9
tetradic
#B9C330 #30C384 #3A30C3 #C3306F
square
#B9C330 #30C384 #3A30C3 #C3306F
split-complementary
#B9C330 #306FC3 #8430C3
monochromatic
#5C6118 #8A9224 #B9C330 #CED65A #DCE28B

Accessibility & contrast

On white

1.92
#B9C330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#B9C330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C330
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C330#FFFFFF#000000##000000
##B9C3301.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B90A
Deuteranopia (green-blind)
#D2BC3D
Tritanopia (blue-blind)
#C6B7A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b9c330;
/* rgb */ color: rgb(185, 195, 48);
/* oklch */ color: oklch(78.4% 0.161 113.5);
Tailwind
colors: {
  custom: {
    50: '#d2d574',
    500: '#b9c330',
    950: '#000000',
  },
}
SCSS
$custom: #b9c330;
$custom-light: #d2d574;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c330",
  "rgb": {
    "r": 185,
    "g": 195,
    "b": 48
  },
  "hsl": {
    "h": 64.082,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78423,
    "c": 0.16107,
    "h": 113.5
  },
  "luminance": 0.49558
}

Semantic roles & 50–950 ramp

primary
#B9C330
secondary
#8782CC
accent
#44E44F
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B

Preview Lab

Preview with #B9C330

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

Preview Lab → · Contrast checker → · Palette generator →

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