#8A941F#8A941F

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

Color values

HEX#8A941F
RGBrgb(138, 148, 31)
HSLhsl(65, 65%, 35%)
HSVhsv(65, 79%, 58%)
CMYKcmyk(6.8%, 0%, 79.1%, 42%)
CIE-LABlab(58.68, -18.10, 55.63)
CIE-LCHlch(58.68, 58.50, 108.02°)
OKLaboklab(63.76% -0.0557 0.1216)
OKLCHoklch(63.76% 0.134 114.6)
XYZxyz(21.3191, 26.6824, 5.3232)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A941F #291F94
analogous
#94631F #8A941F #50941F
triadic
#8A941F #1F8A94 #941F8A
tetradic
#8A941F #1F9463 #291F94 #941F50
square
#8A941F #1F9463 #291F94 #941F50
split-complementary
#8A941F #1F5094 #631F94
monochromatic
#2C2F0A #5B6114 #8A941F #B9C72A #CFDB53

Accessibility & contrast

On white

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

On black

6.34
#8A941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A941F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A941F#FFFFFF#000000##000000
##8A941F1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a941f;
/* rgb */ color: rgb(138, 148, 31);
/* oklch */ color: oklch(63.8% 0.134 114.6);
Tailwind
colors: {
  custom: {
    50: '#b0b366',
    500: '#8a941f',
    950: '#000000',
  },
}
SCSS
$custom: #8a941f;
$custom-light: #b0b366;
$custom-dark: #000000;
JSON
{
  "hex": "#8a941f",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 65.128,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63759,
    "c": 0.1337,
    "h": 114.6
  },
  "luminance": 0.26682
}

Semantic roles & 50–950 ramp

primary
#8A941F
secondary
#5A51BE
accent
#3FE84E
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A941F

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

Preview Lab → · Contrast checker → · Palette generator →

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