#B9C52F#B9C52F

#B9C52F is a light, vivid yellow. Relative luminance 0.505; 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#B9C52F
RGBrgb(185, 197, 47)
HSLhsl(65, 61%, 48%)
HSVhsv(65, 76%, 77%)
CMYKcmyk(6.1%, 0%, 76.1%, 22.7%)
CIE-LABlab(76.35, -21.83, 68.11)
CIE-LCHlch(76.35, 71.52, 107.77°)
OKLaboklab(78.86% -0.0672 0.1492)
OKLCHoklch(78.86% 0.164 114.2)
XYZxyz(40.4882, 50.4528, 10.2943)
Luminance0.5045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C52F #3B2FC5
analogous
#C5862F #B9C52F #6EC52F
triadic
#B9C52F #2FB9C5 #C52FB9
tetradic
#B9C52F #2FC586 #3B2FC5 #C52F6E
square
#B9C52F #2FC586 #3B2FC5 #C52F6E
split-complementary
#B9C52F #2F6EC5 #862FC5
monochromatic
#5C6217 #8B9423 #B9C52F #CDD85A #DCE38B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C52F#FFFFFF#000000##000000
##B9C52F1.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)
#D4BB04
Deuteranopia (green-blind)
#D3BE3C
Tritanopia (blue-blind)
#C5B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b9c52f;
/* rgb */ color: rgb(185, 197, 47);
/* oklch */ color: oklch(78.9% 0.164 114.2);
Tailwind
colors: {
  custom: {
    50: '#d2d674',
    500: '#b9c52f',
    950: '#000000',
  },
}
SCSS
$custom: #b9c52f;
$custom-light: #d2d674;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c52f",
  "rgb": {
    "r": 185,
    "g": 197,
    "b": 47
  },
  "hsl": {
    "h": 64.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.78861,
    "c": 0.16368,
    "h": 114.2
  },
  "luminance": 0.50452
}

Semantic roles & 50–950 ramp

primary
#B9C52F
secondary
#312B6D
accent
#43E550
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C52F

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

Preview Lab → · Contrast checker → · Palette generator →

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