#B9C438#B9C438

#B9C438 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.7% C 0.158 H 113.9°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#B9C438
RGBrgb(185, 196, 56)
HSLhsl(65, 56%, 49%)
HSVhsv(65, 71%, 77%)
CMYKcmyk(5.6%, 0%, 71.4%, 23.1%)
CIE-LABlab(76.12, -20.93, 64.91)
CIE-LCHlch(76.12, 68.20, 107.87°)
OKLaboklab(78.69% -0.0639 0.144)
OKLCHoklch(78.69% 0.158 113.9)
XYZxyz(40.4625, 50.0805, 11.2756)
Luminance0.5008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C438 #4338C4
analogous
#C48938 #B9C438 #73C438
triadic
#B9C438 #38B9C4 #C438B9
tetradic
#B9C438 #38C489 #4338C4 #C43873
square
#B9C438 #38C489 #4338C4 #C43873
split-complementary
#B9C438 #3873C4 #8938C4
monochromatic
#5F651D #8C942A #B9C438 #CBD366 #DBE196

Accessibility & contrast

On white

1.91
#B9C438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#B9C438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C438
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C438#FFFFFF#000000##000000
##B9C4381.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA1E
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#C5B8A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b9c438;
/* rgb */ color: rgb(185, 196, 56);
/* oklch */ color: oklch(78.7% 0.158 113.9);
Tailwind
colors: {
  custom: {
    50: '#d1d578',
    500: '#b9c438',
    950: '#000000',
  },
}
SCSS
$custom: #b9c438;
$custom-light: #d1d578;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c438",
  "rgb": {
    "r": 185,
    "g": 196,
    "b": 56
  },
  "hsl": {
    "h": 64.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78694,
    "c": 0.15758,
    "h": 113.9
  },
  "luminance": 0.5008
}

Semantic roles & 50–950 ramp

primary
#B9C438
secondary
#36316F
accent
#49DF55
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B9C438

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

Preview Lab → · Contrast checker → · Palette generator →

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