#8D942E#8D942E

#8D942E is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.1% C 0.124 H 113.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8D942E
RGBrgb(141, 148, 46)
HSLhsl(64, 53%, 38%)
HSVhsv(64, 69%, 58%)
CMYKcmyk(4.7%, 0%, 68.9%, 42%)
CIE-LABlab(59.01, -16.01, 50.60)
CIE-LCHlch(59.01, 53.08, 107.56°)
OKLaboklab(64.11% -0.0487 0.1135)
OKLCHoklch(64.11% 0.124 113.2)
XYZxyz(22.0682, 27.0402, 6.6410)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D942E #352E94
analogous
#94682E #8D942E #5A942E
triadic
#8D942E #2E8D94 #942E8D
tetradic
#8D942E #2E9468 #352E94 #942E5A
square
#8D942E #2E9468 #352E94 #942E5A
split-complementary
#8D942E #2E5A94 #682E94
monochromatic
#343711 #61651F #8D942E #B9C33D #CAD16B

Accessibility & contrast

On white

3.28
#8D942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8D942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D942E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D942E#FFFFFF#000000##000000
##8D942E1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d942e;
/* rgb */ color: rgb(141, 148, 46);
/* oklch */ color: oklch(64.1% 0.124 113.2);
Tailwind
colors: {
  custom: {
    50: '#b1b36d',
    500: '#8d942e',
    950: '#000000',
  },
}
SCSS
$custom: #8d942e;
$custom-light: #b1b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d942e",
  "rgb": {
    "r": 141,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 64.118,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64114,
    "c": 0.12352,
    "h": 113.2
  },
  "luminance": 0.2704
}

Semantic roles & 50–950 ramp

primary
#8D942E
secondary
#6B66B8
accent
#4CDC56
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D942E

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

Preview Lab → · Contrast checker → · Palette generator →

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