#B9C52E#B9C52E

#B9C52E is a light, vivid yellow. Relative luminance 0.504; OKLCH L 78.9% C 0.164 H 114.2°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#B9C52E
RGBrgb(185, 197, 46)
HSLhsl(65, 62%, 48%)
HSVhsv(65, 77%, 77%)
CMYKcmyk(6.1%, 0%, 76.6%, 22.7%)
CIE-LABlab(76.34, -21.87, 68.41)
CIE-LCHlch(76.34, 71.82, 107.73°)
OKLaboklab(78.86% -0.0674 0.1497)
OKLCHoklch(78.86% 0.164 114.2)
XYZxyz(40.4682, 50.4448, 10.1893)
Luminance0.5044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C52E #3A2EC5
analogous
#C5852E #B9C52E #6EC52E
triadic
#B9C52E #2EB9C5 #C52EB9
tetradic
#B9C52E #2EC585 #3A2EC5 #C52E6E
square
#B9C52E #2EC585 #3A2EC5 #C52E6E
split-complementary
#B9C52E #2E6EC5 #852EC5
monochromatic
#5C6217 #8A9322 #B9C52E #CED858 #DCE48A

Accessibility & contrast

On white

1.89
#B9C52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#B9C52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C52E
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C52E#FFFFFF#000000##000000
##B9C52E1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BB00
Deuteranopia (green-blind)
#D3BE3C
Tritanopia (blue-blind)
#C5B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b9c52e;
/* rgb */ color: rgb(185, 197, 46);
/* oklch */ color: oklch(78.9% 0.164 114.2);
Tailwind
colors: {
  custom: {
    50: '#d2d673',
    500: '#b9c52e',
    950: '#000000',
  },
}
SCSS
$custom: #b9c52e;
$custom-light: #d2d673;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c52e",
  "rgb": {
    "r": 185,
    "g": 197,
    "b": 46
  },
  "hsl": {
    "h": 64.768,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78856,
    "c": 0.16419,
    "h": 114.2
  },
  "luminance": 0.50444
}

Semantic roles & 50–950 ramp

primary
#B9C52E
secondary
#302B6C
accent
#43E550
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C52E

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

Preview Lab → · Contrast checker → · Palette generator →

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