#B9C334#B9C334

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

Color values

HEX#B9C334
RGBrgb(185, 195, 52)
HSLhsl(64, 58%, 48%)
HSVhsv(64, 73%, 76%)
CMYKcmyk(5.1%, 0%, 73.3%, 23.5%)
CIE-LABlab(75.82, -20.63, 66.00)
CIE-LCHlch(75.82, 69.15, 107.36°)
OKLaboklab(78.45% -0.0635 0.1457)
OKLCHoklch(78.45% 0.159 113.5)
XYZxyz(40.1437, 49.5933, 10.7059)
Luminance0.4959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C334 #3E34C3
analogous
#C38534 #B9C334 #71C334
triadic
#B9C334 #34B9C3 #C334B9
tetradic
#B9C334 #34C385 #3E34C3 #C33471
square
#B9C334 #34C385 #3E34C3 #C33471
split-complementary
#B9C334 #3471C3 #8534C3
monochromatic
#5D621A #8B9327 #B9C334 #CCD560 #DCE190

Accessibility & contrast

On white

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

On black

10.92
#B9C334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C334
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C334#FFFFFF#000000##000000
##B9C3341.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2B916
Deuteranopia (green-blind)
#D1BC40
Tritanopia (blue-blind)
#C5B7A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b9c334;
/* rgb */ color: rgb(185, 195, 52);
/* oklch */ color: oklch(78.4% 0.159 113.5);
Tailwind
colors: {
  custom: {
    50: '#d2d576',
    500: '#b9c334',
    950: '#000000',
  },
}
SCSS
$custom: #b9c334;
$custom-light: #d2d576;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c334",
  "rgb": {
    "r": 185,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 64.196,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78447,
    "c": 0.15887,
    "h": 113.5
  },
  "luminance": 0.49592
}

Semantic roles & 50–950 ramp

primary
#B9C334
secondary
#8C87CC
accent
#47E151
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#151409
muted
#83837B

Preview Lab

Preview with #B9C334

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

Preview Lab → · Contrast checker → · Palette generator →

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