#B9BF2D#B9BF2D

#B9BF2D is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.5% C 0.158 H 112.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#B9BF2D
RGBrgb(185, 191, 45)
HSLhsl(62, 62%, 46%)
HSVhsv(62, 76%, 75%)
CMYKcmyk(3.1%, 0%, 76.4%, 25.1%)
CIE-LABlab(74.68, -18.95, 67.20)
CIE-LCHlch(74.68, 69.82, 105.75°)
OKLaboklab(77.52% -0.0594 0.147)
OKLCHoklch(77.52% 0.158 112)
XYZxyz(39.1134, 47.7663, 9.6415)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BF2D #332DBF
analogous
#BF7C2D #B9BF2D #70BF2D
triadic
#B9BF2D #2DB9BF #BF2DB9
tetradic
#B9BF2D #2DBF7C #332DBF #BF2D70
square
#B9BF2D #2DBF7C #332DBF #BF2D70
split-complementary
#B9BF2D #2D70BF #7C2DBF
monochromatic
#595C16 #898D21 #B9BF2D #D1D653 #DEE284

Accessibility & contrast

On white

1.99
#B9BF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#B9BF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BF2D
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BF2D#FFFFFF#000000##000000
##B9BF2D1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB602
Deuteranopia (green-blind)
#CFB93A
Tritanopia (blue-blind)
#C6B3A4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b9bf2d;
/* rgb */ color: rgb(185, 191, 45);
/* oklch */ color: oklch(77.5% 0.158 112.0);
Tailwind
colors: {
  custom: {
    50: '#d2d272',
    500: '#b9bf2d',
    950: '#000000',
  },
}
SCSS
$custom: #b9bf2d;
$custom-light: #d2d272;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bf2d",
  "rgb": {
    "r": 185,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 62.466,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77521,
    "c": 0.15849,
    "h": 112
  },
  "luminance": 0.47765
}

Semantic roles & 50–950 ramp

primary
#B9BF2D
secondary
#807CCB
accent
#43E54A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #B9BF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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