#8B941B#8B941B

#8B941B is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.8% C 0.135 H 114.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8B941B
RGBrgb(139, 148, 27)
HSLhsl(64, 69%, 34%)
HSVhsv(64, 82%, 58%)
CMYKcmyk(6.1%, 0%, 81.8%, 42%)
CIE-LABlab(58.74, -17.81, 56.91)
CIE-LCHlch(58.74, 59.63, 107.38°)
OKLaboklab(63.82% -0.0553 0.1235)
OKLCHoklch(63.82% 0.135 114.1)
XYZxyz(21.4359, 26.7483, 5.0704)
Luminance0.2675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B941B #241B94
analogous
#94611B #8B941B #4F941B
triadic
#8B941B #1B8B94 #941B8B
tetradic
#8B941B #1B9461 #241B94 #941B4F
square
#8B941B #1B9461 #241B94 #941B4F
split-complementary
#8B941B #1B4F94 #611B94
monochromatic
#2A2C08 #5A6012 #8B941B #BCC824 #D3DE4B

Accessibility & contrast

On white

3.31
#8B941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#8B941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B941B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B941B#FFFFFF#000000##000000
##8B941B1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9F8E27
Tritanopia (blue-blind)
#958B7E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b941b;
/* rgb */ color: rgb(139, 148, 27);
/* oklch */ color: oklch(63.8% 0.135 114.1);
Tailwind
colors: {
  custom: {
    50: '#b0b364',
    500: '#8b941b',
    950: '#000000',
  },
}
SCSS
$custom: #8b941b;
$custom-light: #b0b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8b941b",
  "rgb": {
    "r": 139,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 64.463,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63823,
    "c": 0.13532,
    "h": 114.1
  },
  "luminance": 0.26748
}

Semantic roles & 50–950 ramp

primary
#8B941B
secondary
#534BC0
accent
#3CEC49
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B941B

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

Preview Lab → · Contrast checker → · Palette generator →

#8B941B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva