#B9C151#B9C151

#B9C151 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.2% C 0.136 H 112.9°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#B9C151
RGBrgb(185, 193, 81)
HSLhsl(64, 47%, 54%)
HSVhsv(64, 58%, 76%)
CMYKcmyk(4.1%, 0%, 58%, 24.3%)
CIE-LABlab(75.48, -17.87, 54.17)
CIE-LCHlch(75.48, 57.05, 108.26°)
OKLaboklab(78.25% -0.0528 0.1251)
OKLCHoklch(78.25% 0.136 112.9)
XYZxyz(40.5637, 49.0491, 15.1136)
Luminance0.4905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C151 #5951C1
analogous
#C19151 #B9C151 #81C151
triadic
#B9C151 #51B9C1 #C151B9
tetradic
#B9C151 #51C191 #5951C1 #C15181
square
#B9C151 #51C191 #5951C1 #C15181
split-complementary
#B9C151 #5181C1 #9151C1
monochromatic
#6B7028 #969D38 #B9C151 #CBD17E #DDE1AB

Accessibility & contrast

On white

1.94
#B9C151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#B9C151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C151
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C151#FFFFFF#000000##000000
##B9C1511.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB945
Deuteranopia (green-blind)
#CEBB58
Tritanopia (blue-blind)
#C4B6A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b9c151;
/* rgb */ color: rgb(185, 193, 81);
/* oklch */ color: oklch(78.2% 0.136 112.9);
Tailwind
colors: {
  custom: {
    50: '#d0d386',
    500: '#b9c151',
    950: '#000000',
  },
}
SCSS
$custom: #b9c151;
$custom-light: #d0d386;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c151",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 81
  },
  "hsl": {
    "h": 64.286,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78246,
    "c": 0.13578,
    "h": 112.9
  },
  "luminance": 0.49048
}

Semantic roles & 50–950 ramp

primary
#B9C151
secondary
#A29FCF
accent
#51D75A
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #B9C151

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

Preview Lab → · Contrast checker → · Palette generator →

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