#8A941C#8A941C

#8A941C 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#8A941C
RGBrgb(138, 148, 28)
HSLhsl(65, 68%, 35%)
HSVhsv(65, 81%, 58%)
CMYKcmyk(6.8%, 0%, 81.1%, 42%)
CIE-LABlab(58.67, -18.22, 56.52)
CIE-LCHlch(58.67, 59.39, 107.86°)
OKLaboklab(63.74% -0.0563 0.1229)
OKLCHoklch(63.74% 0.135 114.6)
XYZxyz(21.2814, 26.6673, 5.1246)
Luminance0.2667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A941C #261C94
analogous
#94621C #8A941C #4E941C
triadic
#8A941C #1C8A94 #941C8A
tetradic
#8A941C #1C9462 #261C94 #941C4E
square
#8A941C #1C9462 #261C94 #941C4E
split-complementary
#8A941C #1C4E94 #621C94
monochromatic
#2A2D09 #5A6112 #8A941C #BAC726 #D1DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A941C#FFFFFF#000000##000000
##8A941C1.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: #8a941c;
/* rgb */ color: rgb(138, 148, 28);
/* oklch */ color: oklch(63.7% 0.135 114.6);
Tailwind
colors: {
  custom: {
    50: '#b0b364',
    500: '#8a941c',
    950: '#000000',
  },
}
SCSS
$custom: #8a941c;
$custom-light: #b0b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8a941c",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 65,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63744,
    "c": 0.13518,
    "h": 114.6
  },
  "luminance": 0.26667
}

Semantic roles & 50–950 ramp

primary
#8A941C
secondary
#564CC0
accent
#3DEB4B
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A941C

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

Preview Lab → · Contrast checker → · Palette generator →

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