#8E8926#8E8926

#8E8926 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.117 H 106.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8E8926
RGBrgb(142, 137, 38)
HSLhsl(57, 58%, 35%)
HSVhsv(57, 73%, 56%)
CMYKcmyk(0%, 3.5%, 73.2%, 44.3%)
CIE-LABlab(55.87, -10.17, 50.68)
CIE-LCHlch(55.87, 51.69, 101.34°)
OKLaboklab(61.61% -0.0332 0.1122)
OKLCHoklch(61.61% 0.117 106.5)
XYZxyz(20.4516, 23.7828, 5.3466)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8926 #262B8E
analogous
#8E5526 #8E8926 #5F8E26
triadic
#8E8926 #268E89 #89268E
tetradic
#8E8926 #268E55 #262B8E #8E265F
square
#8E8926 #268E55 #262B8E #8E265F
split-complementary
#8E8926 #265F8E #55268E
monochromatic
#2D2C0C #5E5A19 #8E8926 #BEB833 #D3CD5B

Accessibility & contrast

On white

3.65
#8E8926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8E8926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8926
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8926#FFFFFF#000000##000000
##8E89261.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#998076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e8926;
/* rgb */ color: rgb(142, 137, 38);
/* oklch */ color: oklch(61.6% 0.117 106.5);
Tailwind
colors: {
  custom: {
    50: '#b2ab68',
    500: '#8e8926',
    950: '#000000',
  },
}
SCSS
$custom: #8e8926;
$custom-light: #b2ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8926",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 57.115,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.11702,
    "h": 106.5
  },
  "luminance": 0.23782
}

Semantic roles & 50–950 ramp

primary
#8E8926
secondary
#585CB8
accent
#4EE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8926

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

Preview Lab → · Contrast checker → · Palette generator →

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