#B9C52A#B9C52A

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

Color values

HEX#B9C52A
RGBrgb(185, 197, 42)
HSLhsl(65, 65%, 47%)
HSVhsv(65, 79%, 77%)
CMYKcmyk(6.1%, 0%, 78.7%, 22.7%)
CIE-LABlab(76.32, -22.03, 69.57)
CIE-LCHlch(76.32, 72.97, 107.57°)
OKLaboklab(78.83% -0.0681 0.1515)
OKLCHoklch(78.83% 0.166 114.2)
XYZxyz(40.3930, 50.4148, 9.7932)
Luminance0.5041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C52A #362AC5
analogous
#C5842A #B9C52A #6CC52A
triadic
#B9C52A #2AB9C5 #C52AB9
tetradic
#B9C52A #2AC584 #362AC5 #C52A6C
square
#B9C52A #2AC584 #362AC5 #C52A6C
split-complementary
#B9C52A #2A6CC5 #842AC5
monochromatic
#5A6014 #8A931F #B9C52A #D0DA52 #DDE585

Accessibility & contrast

On white

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

On black

11.08
#B9C52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C52A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C52A#FFFFFF#000000##000000
##B9C52A1.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9c52a;
/* rgb */ color: rgb(185, 197, 42);
/* oklch */ color: oklch(78.8% 0.166 114.2);
Tailwind
colors: {
  custom: {
    50: '#d2d672',
    500: '#b9c52a',
    950: '#000000',
  },
}
SCSS
$custom: #b9c52a;
$custom-light: #d2d672;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c52a",
  "rgb": {
    "r": 185,
    "g": 197,
    "b": 42
  },
  "hsl": {
    "h": 64.645,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.78835,
    "c": 0.1661,
    "h": 114.2
  },
  "luminance": 0.50414
}

Semantic roles & 50–950 ramp

primary
#B9C52A
secondary
#2D286B
accent
#40E84D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C52A

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

Preview Lab → · Contrast checker → · Palette generator →

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