#B9C152#B9C152

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

Color values

HEX#B9C152
RGBrgb(185, 193, 82)
HSLhsl(64, 47%, 54%)
HSVhsv(64, 58%, 76%)
CMYKcmyk(4.1%, 0%, 57.5%, 24.3%)
CIE-LABlab(75.49, -17.80, 53.74)
CIE-LCHlch(75.49, 56.61, 108.32°)
OKLaboklab(78.26% -0.0525 0.1243)
OKLCHoklch(78.26% 0.135 112.9)
XYZxyz(40.6015, 49.0642, 15.3125)
Luminance0.4906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C152 #5A52C1
analogous
#C19252 #B9C152 #82C152
triadic
#B9C152 #52B9C1 #C152B9
tetradic
#B9C152 #52C192 #5A52C1 #C15282
square
#B9C152 #52C192 #5A52C1 #C15282
split-complementary
#B9C152 #5282C1 #9252C1
monochromatic
#6B7028 #969D38 #B9C152 #CBD17F #DDE1AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C152#FFFFFF#000000##000000
##B9C1521.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)
#CEB946
Deuteranopia (green-blind)
#CEBB59
Tritanopia (blue-blind)
#C4B7A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b9c152;
/* rgb */ color: rgb(185, 193, 82);
/* oklch */ color: oklch(78.3% 0.135 112.9);
Tailwind
colors: {
  custom: {
    50: '#d0d387',
    500: '#b9c152',
    950: '#000000',
  },
}
SCSS
$custom: #b9c152;
$custom-light: #d0d387;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c152",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 82
  },
  "hsl": {
    "h": 64.324,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.78256,
    "c": 0.13491,
    "h": 112.9
  },
  "luminance": 0.49063
}

Semantic roles & 50–950 ramp

primary
#B9C152
secondary
#A3A0CF
accent
#51D75B
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C

Preview Lab

Preview with #B9C152

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

Preview Lab → · Contrast checker → · Palette generator →

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