#B9BD27#B9BD27

#B9BD27 is a light, vivid yellow. Relative luminance 0.469; OKLCH L 77.0% C 0.159 H 111.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#B9BD27
RGBrgb(185, 189, 39)
HSLhsl(62, 66%, 45%)
HSVhsv(62, 79%, 74%)
CMYKcmyk(2.1%, 0%, 79.4%, 25.9%)
CIE-LABlab(74.10, -18.17, 68.44)
CIE-LCHlch(74.10, 70.81, 104.87°)
OKLaboklab(77.05% -0.0577 0.1485)
OKLCHoklch(77.05% 0.159 111.2)
XYZxyz(38.5728, 46.8570, 8.9315)
Luminance0.4686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BD27 #2B27BD
analogous
#BD7627 #B9BD27 #6EBD27
triadic
#B9BD27 #27B9BD #BD27B9
tetradic
#B9BD27 #27BD76 #2B27BD #BD276E
square
#B9BD27 #27BD76 #2B27BD #BD276E
split-complementary
#B9BD27 #276EBD #7627BD
monochromatic
#565812 #878A1D #B9BD27 #D5D948 #E1E47B

Accessibility & contrast

On white

2.02
#B9BD27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#B9BD27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BD27
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BD27#FFFFFF#000000##000000
##B9BD271.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CDB835
Tritanopia (blue-blind)
#C6B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b9bd27;
/* rgb */ color: rgb(185, 189, 39);
/* oklch */ color: oklch(77.0% 0.159 111.2);
Tailwind
colors: {
  custom: {
    50: '#d2d06f',
    500: '#b9bd27',
    950: '#000000',
  },
}
SCSS
$custom: #b9bd27;
$custom-light: #d2d06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bd27",
  "rgb": {
    "r": 185,
    "g": 189,
    "b": 39
  },
  "hsl": {
    "h": 61.6,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.77049,
    "c": 0.15935,
    "h": 111.2
  },
  "luminance": 0.46856
}

Semantic roles & 50–950 ramp

primary
#B9BD27
secondary
#7674CC
accent
#3FE944
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BD27

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

Preview Lab → · Contrast checker → · Palette generator →

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