#B9B43E#B9B43E

#B9B43E is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.2% C 0.137 H 106.9°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#B9B43E
RGBrgb(185, 180, 62)
HSLhsl(58, 50%, 48%)
HSVhsv(58, 66%, 73%)
CMYKcmyk(0%, 2.7%, 66.5%, 27.5%)
CIE-LABlab(71.76, -12.55, 58.29)
CIE-LCHlch(71.76, 59.63, 102.15°)
OKLaboklab(75.22% -0.0398 0.1311)
OKLCHoklch(75.22% 0.137 106.9)
XYZxyz(37.1997, 43.3058, 10.9558)
Luminance0.4330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B43E #3E43B9
analogous
#B9763E #B9B43E #80B93E
triadic
#B9B43E #3EB9B4 #B43EB9
tetradic
#B9B43E #3EB976 #3E43B9 #B93E80
square
#B9B43E #3EB976 #3E43B9 #B93E80
split-complementary
#B9B43E #3E80B9 #763EB9
monochromatic
#5D5B1F #8B872F #B9B43E #CCC868 #DCD996

Accessibility & contrast

On white

2.17
#B9B43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#B9B43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B43E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B43E#FFFFFF#000000##000000
##B9B43E1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD2E
Deuteranopia (green-blind)
#C5B246
Tritanopia (blue-blind)
#C6A89C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b9b43e;
/* rgb */ color: rgb(185, 180, 62);
/* oklch */ color: oklch(75.2% 0.137 106.9);
Tailwind
colors: {
  custom: {
    50: '#d1ca7a',
    500: '#b9b43e',
    950: '#000000',
  },
}
SCSS
$custom: #b9b43e;
$custom-light: #d1ca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b43e",
  "rgb": {
    "r": 185,
    "g": 180,
    "b": 62
  },
  "hsl": {
    "h": 57.561,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75225,
    "c": 0.13701,
    "h": 106.9
  },
  "luminance": 0.43305
}

Semantic roles & 50–950 ramp

primary
#B9B43E
secondary
#8C8EC7
accent
#54D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B43E

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

Preview Lab → · Contrast checker → · Palette generator →

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