#B9BE38#B9BE38

#B9BE38 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.4% C 0.151 H 111.6°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#B9BE38
RGBrgb(185, 190, 56)
HSLhsl(62, 54%, 48%)
HSVhsv(62, 71%, 75%)
CMYKcmyk(2.6%, 0%, 70.5%, 25.5%)
CIE-LABlab(74.46, -17.95, 63.29)
CIE-LCHlch(74.46, 65.79, 105.83°)
OKLaboklab(77.37% -0.0556 0.1406)
OKLCHoklch(77.37% 0.151 111.6)
XYZxyz(39.1361, 47.4277, 10.8335)
Luminance0.4743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BE38 #3D38BE
analogous
#BE8038 #B9BE38 #76BE38
triadic
#B9BE38 #38B9BE #BE38B9
tetradic
#B9BE38 #38BE80 #3D38BE #BE3876
square
#B9BE38 #38BE80 #3D38BE #BE3876
split-complementary
#B9BE38 #3876BE #8038BE
monochromatic
#5D5F1C #8B8F2A #B9BE38 #CDD162 #DCDF92

Accessibility & contrast

On white

2.00
#B9BE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#B9BE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BE38
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BE38#FFFFFF#000000##000000
##B9BE381.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB521
Deuteranopia (green-blind)
#CDB942
Tritanopia (blue-blind)
#C6B2A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b9be38;
/* rgb */ color: rgb(185, 190, 56);
/* oklch */ color: oklch(77.4% 0.151 111.6);
Tailwind
colors: {
  custom: {
    50: '#d1d177',
    500: '#b9be38',
    950: '#000000',
  },
}
SCSS
$custom: #b9be38;
$custom-light: #d1d177;
$custom-dark: #000000;
JSON
{
  "hex": "#b9be38",
  "rgb": {
    "r": 185,
    "g": 190,
    "b": 56
  },
  "hsl": {
    "h": 62.239,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.77368,
    "c": 0.15123,
    "h": 111.6
  },
  "luminance": 0.47427
}

Semantic roles & 50–950 ramp

primary
#B9BE38
secondary
#8B88CA
accent
#4ADE4F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B9BE38

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

Preview Lab → · Contrast checker → · Palette generator →

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