#B9C548#B9C548

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

Color values

HEX#B9C548
RGBrgb(185, 197, 72)
HSLhsl(66, 52%, 53%)
HSVhsv(66, 63%, 77%)
CMYKcmyk(6.1%, 0%, 63.5%, 22.7%)
CIE-LABlab(76.51, -20.50, 59.15)
CIE-LCHlch(76.51, 62.60, 109.11°)
OKLaboklab(79.04% -0.0612 0.1344)
OKLCHoklch(79.04% 0.148 114.5)
XYZxyz(41.1445, 50.7154, 13.7512)
Luminance0.5071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C548 #5448C5
analogous
#C59248 #B9C548 #7AC548
triadic
#B9C548 #48B9C5 #C548B9
tetradic
#B9C548 #48C592 #5448C5 #C5487A
square
#B9C548 #48C592 #5448C5 #C5487A
split-complementary
#B9C548 #487AC5 #9248C5
monochromatic
#686F23 #939E32 #B9C548 #CBD476 #DDE2A5

Accessibility & contrast

On white

1.88
#B9C548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C548#FFFFFF#000000##000000
##B9C5481.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC38
Deuteranopia (green-blind)
#D2BE50
Tritanopia (blue-blind)
#C4BAAB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b9c548;
/* rgb */ color: rgb(185, 197, 72);
/* oklch */ color: oklch(79.0% 0.148 114.5);
Tailwind
colors: {
  custom: {
    50: '#d1d681',
    500: '#b9c548',
    950: '#000000',
  },
}
SCSS
$custom: #b9c548;
$custom-light: #d1d681;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c548",
  "rgb": {
    "r": 185,
    "g": 197,
    "b": 72
  },
  "hsl": {
    "h": 65.76,
    "s": 51.867,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79041,
    "c": 0.14769,
    "h": 114.5
  },
  "luminance": 0.50715
}

Semantic roles & 50–950 ramp

primary
#B9C548
secondary
#3F3879
accent
#4CDB5A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B9C548

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

Preview Lab → · Contrast checker → · Palette generator →

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