#B9C545#B9C545

#B9C545 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.0% C 0.150 H 114.4°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#B9C545
RGBrgb(185, 197, 69)
HSLhsl(66, 52%, 52%)
HSVhsv(66, 65%, 77%)
CMYKcmyk(6.1%, 0%, 65%, 22.7%)
CIE-LABlab(76.48, -20.69, 60.35)
CIE-LCHlch(76.48, 63.80, 108.93°)
OKLaboklab(79.02% -0.062 0.1365)
OKLCHoklch(79.02% 0.15 114.4)
XYZxyz(41.0490, 50.6772, 13.2483)
Luminance0.5068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C545 #5145C5
analogous
#C59145 #B9C545 #79C545
triadic
#B9C545 #45B9C5 #C545B9
tetradic
#B9C545 #45C591 #5145C5 #C54579
square
#B9C545 #45C591 #5145C5 #C54579
split-complementary
#B9C545 #4579C5 #9145C5
monochromatic
#666D22 #929C31 #B9C545 #CBD474 #DCE2A2

Accessibility & contrast

On white

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

On black

11.14
#B9C545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C545
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C545#FFFFFF#000000##000000
##B9C5451.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#D2BE4E
Tritanopia (blue-blind)
#C5BAAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b9c545;
/* rgb */ color: rgb(185, 197, 69);
/* oklch */ color: oklch(79.0% 0.150 114.4);
Tailwind
colors: {
  custom: {
    50: '#d1d67f',
    500: '#b9c545',
    950: '#000000',
  },
}
SCSS
$custom: #b9c545;
$custom-light: #d1d67f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c545",
  "rgb": {
    "r": 185,
    "g": 197,
    "b": 69
  },
  "hsl": {
    "h": 65.625,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79015,
    "c": 0.14994,
    "h": 114.4
  },
  "luminance": 0.50676
}

Semantic roles & 50–950 ramp

primary
#B9C545
secondary
#3D3777
accent
#4CDC59
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9C545

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

Preview Lab → · Contrast checker → · Palette generator →

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