#8E8A26#8E8A26

#8E8A26 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.118 H 107.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8E8A26
RGBrgb(142, 138, 38)
HSLhsl(58, 58%, 35%)
HSVhsv(58, 73%, 56%)
CMYKcmyk(0%, 2.8%, 73.2%, 44.3%)
CIE-LABlab(56.16, -10.71, 50.95)
CIE-LCHlch(56.16, 52.07, 101.87°)
OKLaboklab(61.84% -0.0347 0.1128)
OKLCHoklch(61.84% 0.118 107.1)
XYZxyz(20.5945, 24.0684, 5.3942)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A26 #262A8E
analogous
#8E5626 #8E8A26 #5E8E26
triadic
#8E8A26 #268E8A #8A268E
tetradic
#8E8A26 #268E56 #262A8E #8E265E
square
#8E8A26 #268E56 #262A8E #8E265E
split-complementary
#8E8A26 #265E8E #56268E
monochromatic
#2D2C0C #5E5B19 #8E8A26 #BEB933 #D3CF5B

Accessibility & contrast

On white

3.61
#8E8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8E8A26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A26
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A26#FFFFFF#000000##000000
##8E8A261.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968514
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#998177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8a26;
/* rgb */ color: rgb(142, 138, 38);
/* oklch */ color: oklch(61.8% 0.118 107.1);
Tailwind
colors: {
  custom: {
    50: '#b2ab68',
    500: '#8e8a26',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a26;
$custom-light: #b2ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a26",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 38
  },
  "hsl": {
    "h": 57.692,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61836,
    "c": 0.11802,
    "h": 107.1
  },
  "luminance": 0.24068
}

Semantic roles & 50–950 ramp

primary
#8E8A26
secondary
#585BB8
accent
#4DE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8A26

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

Preview Lab → · Contrast checker → · Palette generator →

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