#8B942E#8B942E

#8B942E is a light, vivid yellow. Relative luminance 0.269; OKLCH L 63.9% C 0.124 H 114.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8B942E
RGBrgb(139, 148, 46)
HSLhsl(65, 53%, 38%)
HSVhsv(65, 69%, 58%)
CMYKcmyk(6.1%, 0%, 68.9%, 42%)
CIE-LABlab(58.85, -16.89, 50.39)
CIE-LCHlch(58.85, 53.14, 108.53°)
OKLaboklab(63.95% -0.051 0.1131)
OKLCHoklch(63.95% 0.124 114.3)
XYZxyz(21.7311, 26.8664, 6.6252)
Luminance0.2687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B942E #372E94
analogous
#946A2E #8B942E #58942E
triadic
#8B942E #2E8B94 #942E8B
tetradic
#8B942E #2E946A #372E94 #942E58
square
#8B942E #2E946A #372E94 #942E58
split-complementary
#8B942E #2E5894 #6A2E94
monochromatic
#333711 #5F651F #8B942E #B7C33D #C8D16B

Accessibility & contrast

On white

3.30
#8B942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#8B942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B942E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B942E#FFFFFF#000000##000000
##8B942E1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1F
Deuteranopia (green-blind)
#9E8F35
Tritanopia (blue-blind)
#948B80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8b942e;
/* rgb */ color: rgb(139, 148, 46);
/* oklch */ color: oklch(63.9% 0.124 114.3);
Tailwind
colors: {
  custom: {
    50: '#b0b36d',
    500: '#8b942e',
    950: '#000000',
  },
}
SCSS
$custom: #8b942e;
$custom-light: #b0b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b942e",
  "rgb": {
    "r": 139,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 65.294,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63946,
    "c": 0.12409,
    "h": 114.3
  },
  "luminance": 0.26866
}

Semantic roles & 50–950 ramp

primary
#8B942E
secondary
#6D66B8
accent
#4CDC59
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8B942E

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

Preview Lab → · Contrast checker → · Palette generator →

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