#8A941D#8A941D

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

Color values

HEX#8A941D
RGBrgb(138, 148, 29)
HSLhsl(65, 67%, 35%)
HSVhsv(65, 80%, 58%)
CMYKcmyk(6.8%, 0%, 80.4%, 42%)
CIE-LABlab(58.67, -18.18, 56.23)
CIE-LCHlch(58.67, 59.10, 107.92°)
OKLaboklab(63.75% -0.0561 0.1225)
OKLCHoklch(63.75% 0.135 114.6)
XYZxyz(21.2936, 26.6722, 5.1887)
Luminance0.2667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A941D #271D94
analogous
#94631D #8A941D #4F941D
triadic
#8A941D #1D8A94 #941D8A
tetradic
#8A941D #1D9463 #271D94 #941D4F
square
#8A941D #1D9463 #271D94 #941D4F
split-complementary
#8A941D #1D4F94 #631D94
monochromatic
#2B2E09 #5A6113 #8A941D #BAC727 #D1DC4F

Accessibility & contrast

On white

3.32
#8A941D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#8A941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A941D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A941D#FFFFFF#000000##000000
##8A941D1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a941d;
/* rgb */ color: rgb(138, 148, 29);
/* oklch */ color: oklch(63.7% 0.135 114.6);
Tailwind
colors: {
  custom: {
    50: '#b0b365',
    500: '#8a941d',
    950: '#000000',
  },
}
SCSS
$custom: #8a941d;
$custom-light: #b0b365;
$custom-dark: #000000;
JSON
{
  "hex": "#8a941d",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 65.042,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63749,
    "c": 0.13471,
    "h": 114.6
  },
  "luminance": 0.26672
}

Semantic roles & 50–950 ramp

primary
#8A941D
secondary
#574EBF
accent
#3EEA4C
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A941D

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

Preview Lab → · Contrast checker → · Palette generator →

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