#8A942E#8A942E

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

Color values

HEX#8A942E
RGBrgb(138, 148, 46)
HSLhsl(66, 53%, 38%)
HSVhsv(66, 69%, 58%)
CMYKcmyk(6.8%, 0%, 68.9%, 42%)
CIE-LABlab(58.77, -17.33, 50.28)
CIE-LCHlch(58.77, 53.18, 109.02°)
OKLaboklab(63.86% -0.0522 0.1129)
OKLCHoklch(63.86% 0.124 114.8)
XYZxyz(21.5648, 26.7807, 6.6174)
Luminance0.2678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A942E #382E94
analogous
#946B2E #8A942E #57942E
triadic
#8A942E #2E8A94 #942E8A
tetradic
#8A942E #2E946B #382E94 #942E57
square
#8A942E #2E946B #382E94 #942E57
split-complementary
#8A942E #2E5794 #6B2E94
monochromatic
#333711 #5E651F #8A942E #B5C33D #C7D16B

Accessibility & contrast

On white

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

On black

6.36
#8A942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A942E
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A942E#FFFFFF#000000##000000
##8A942E1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1F
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#938B80
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a942e;
/* rgb */ color: rgb(138, 148, 46);
/* oklch */ color: oklch(63.9% 0.124 114.8);
Tailwind
colors: {
  custom: {
    50: '#afb36d',
    500: '#8a942e',
    950: '#000000',
  },
}
SCSS
$custom: #8a942e;
$custom-light: #afb36d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a942e",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 65.882,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63862,
    "c": 0.12441,
    "h": 114.8
  },
  "luminance": 0.2678
}

Semantic roles & 50–950 ramp

primary
#8A942E
secondary
#6E66B8
accent
#4CDC5A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A942E

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

Preview Lab → · Contrast checker → · Palette generator →

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