#B9C538#B9C538

#B9C538 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 78.9% C 0.159 H 114.3°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#B9C538
RGBrgb(185, 197, 56)
HSLhsl(65, 56%, 50%)
HSVhsv(65, 72%, 77%)
CMYKcmyk(6.1%, 0%, 71.6%, 22.7%)
CIE-LABlab(76.40, -21.42, 65.17)
CIE-LCHlch(76.40, 68.60, 108.20°)
OKLaboklab(78.92% -0.0653 0.1446)
OKLCHoklch(78.92% 0.159 114.3)
XYZxyz(40.6888, 50.5331, 11.3510)
Luminance0.5053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C538 #4438C5
analogous
#C58A38 #B9C538 #73C538
triadic
#B9C538 #38B9C5 #C538B9
tetradic
#B9C538 #38C58A #4438C5 #C53873
square
#B9C538 #38C58A #4438C5 #C53873
split-complementary
#B9C538 #3873C5 #8A38C5
monochromatic
#5F661D #8C952A #B9C538 #CAD467 #DBE196

Accessibility & contrast

On white

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

On black

11.11
#B9C538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C538
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C538#FFFFFF#000000##000000
##B9C5381.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB1E
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#C5B9AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b9c538;
/* rgb */ color: rgb(185, 197, 56);
/* oklch */ color: oklch(78.9% 0.159 114.3);
Tailwind
colors: {
  custom: {
    50: '#d1d678',
    500: '#b9c538',
    950: '#000000',
  },
}
SCSS
$custom: #b9c538;
$custom-light: #d1d678;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c538",
  "rgb": {
    "r": 185,
    "g": 197,
    "b": 56
  },
  "hsl": {
    "h": 65.106,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.78916,
    "c": 0.15866,
    "h": 114.3
  },
  "luminance": 0.50532
}

Semantic roles & 50–950 ramp

primary
#B9C538
secondary
#373170
accent
#49DF56
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B9C538

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

Preview Lab → · Contrast checker → · Palette generator →

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