#8A8E26#8A8E26

#8A8E26 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.123 H 111.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A8E26
RGBrgb(138, 142, 38)
HSLhsl(62, 58%, 35%)
HSVhsv(62, 73%, 56%)
CMYKcmyk(2.8%, 0%, 73.2%, 44.3%)
CIE-LABlab(56.97, -14.64, 51.62)
CIE-LCHlch(56.97, 53.65, 105.83°)
OKLaboklab(62.4% -0.0455 0.1144)
OKLCHoklch(62.4% 0.123 111.7)
XYZxyz(20.5048, 24.8897, 5.5574)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E26 #2A268E
analogous
#8E5E26 #8A8E26 #568E26
triadic
#8A8E26 #268A8E #8E268A
tetradic
#8A8E26 #268E5E #2A268E #8E2656
square
#8A8E26 #268E5E #2A268E #8E2656
split-complementary
#8A8E26 #26568E #5E268E
monochromatic
#2C2D0C #5B5E19 #8A8E26 #B9BE33 #CFD35B

Accessibility & contrast

On white

3.51
#8A8E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8A8E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E26
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E26#FFFFFF#000000##000000
##8A8E261.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998713
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#94857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8e26;
/* rgb */ color: rgb(138, 142, 38);
/* oklch */ color: oklch(62.4% 0.123 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae68',
    500: '#8a8e26',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e26;
$custom-light: #afae68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e26",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 62.308,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62401,
    "c": 0.12306,
    "h": 111.7
  },
  "luminance": 0.24889
}

Semantic roles & 50–950 ramp

primary
#8A8E26
secondary
#5B58B8
accent
#47E14D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8E26

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

Preview Lab → · Contrast checker → · Palette generator →

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