#8B941C#8B941C

#8B941C is a light, vivid yellow. Relative luminance 0.268; 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#8B941C
RGBrgb(139, 148, 28)
HSLhsl(65, 68%, 35%)
HSVhsv(65, 81%, 58%)
CMYKcmyk(6.1%, 0%, 81.1%, 42%)
CIE-LABlab(58.75, -17.77, 56.62)
CIE-LCHlch(58.75, 59.35, 107.43°)
OKLaboklab(63.83% -0.0551 0.1231)
OKLCHoklch(63.83% 0.135 114.1)
XYZxyz(21.4476, 26.7531, 5.1324)
Luminance0.2675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B941C #251C94
analogous
#94611C #8B941C #4F941C
triadic
#8B941C #1C8B94 #941C8B
tetradic
#8B941C #1C9461 #251C94 #941C4F
square
#8B941C #1C9461 #251C94 #941C4F
split-complementary
#8B941C #1C4F94 #611C94
monochromatic
#2A2D09 #5B6112 #8B941C #BBC726 #D3DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B941C#FFFFFF#000000##000000
##8B941C1.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)
#9F8E28
Tritanopia (blue-blind)
#958B7E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b941c;
/* rgb */ color: rgb(139, 148, 28);
/* oklch */ color: oklch(63.8% 0.135 114.1);
Tailwind
colors: {
  custom: {
    50: '#b0b364',
    500: '#8b941c',
    950: '#000000',
  },
}
SCSS
$custom: #8b941c;
$custom-light: #b0b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8b941c",
  "rgb": {
    "r": 139,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 64.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63827,
    "c": 0.13486,
    "h": 114.1
  },
  "luminance": 0.26753
}

Semantic roles & 50–950 ramp

primary
#8B941C
secondary
#554CC0
accent
#3DEB4A
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B941C

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

Preview Lab → · Contrast checker → · Palette generator →

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