#B9C52C#B9C52C

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

Color values

HEX#B9C52C
RGBrgb(185, 197, 44)
HSLhsl(65, 63%, 47%)
HSVhsv(65, 78%, 77%)
CMYKcmyk(6.1%, 0%, 77.7%, 22.7%)
CIE-LABlab(76.33, -21.95, 69.00)
CIE-LCHlch(76.33, 72.41, 107.65°)
OKLaboklab(78.85% -0.0678 0.1506)
OKLCHoklch(78.85% 0.165 114.2)
XYZxyz(40.4297, 50.4294, 9.9865)
Luminance0.5043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C52C #382CC5
analogous
#C5852C #B9C52C #6DC52C
triadic
#B9C52C #2CB9C5 #C52CB9
tetradic
#B9C52C #2CC585 #382CC5 #C52C6D
square
#B9C52C #2CC585 #382CC5 #C52C6D
split-complementary
#B9C52C #2C6DC5 #852CC5
monochromatic
#5B6116 #8A9321 #B9C52C #CFD955 #DDE487

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C52C#FFFFFF#000000##000000
##B9C52C1.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)
#D3BE3A
Tritanopia (blue-blind)
#C6B9A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b9c52c;
/* rgb */ color: rgb(185, 197, 44);
/* oklch */ color: oklch(78.8% 0.165 114.2);
Tailwind
colors: {
  custom: {
    50: '#d2d673',
    500: '#b9c52c',
    950: '#000000',
  },
}
SCSS
$custom: #b9c52c;
$custom-light: #d2d673;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c52c",
  "rgb": {
    "r": 185,
    "g": 197,
    "b": 44
  },
  "hsl": {
    "h": 64.706,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78845,
    "c": 0.16517,
    "h": 114.2
  },
  "luminance": 0.50429
}

Semantic roles & 50–950 ramp

primary
#B9C52C
secondary
#2F296C
accent
#41E74E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B9C52C

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

Preview Lab → · Contrast checker → · Palette generator →

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