#8A8F26#8A8F26

#8A8F26 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.124 H 112.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A8F26
RGBrgb(138, 143, 38)
HSLhsl(63, 58%, 35%)
HSVhsv(63, 73%, 56%)
CMYKcmyk(3.5%, 0%, 73.4%, 43.9%)
CIE-LABlab(57.26, -15.17, 51.90)
CIE-LCHlch(57.26, 54.07, 106.29°)
OKLaboklab(62.63% -0.0469 0.115)
OKLCHoklch(62.63% 0.124 112.2)
XYZxyz(20.6542, 25.1886, 5.6072)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F26 #2B268F
analogous
#8F5F26 #8A8F26 #558F26
triadic
#8A8F26 #268A8F #8F268A
tetradic
#8A8F26 #268F5F #2B268F #8F2655
square
#8A8F26 #268F5F #2B268F #8F2655
split-complementary
#8A8F26 #26558F #5F268F
monochromatic
#2D2E0C #5B5F19 #8A8F26 #B9BF33 #CED45C

Accessibility & contrast

On white

3.48
#8A8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8A8F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F26
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F26#FFFFFF#000000##000000
##8A8F261.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8812
Deuteranopia (green-blind)
#9A8B2E
Tritanopia (blue-blind)
#94867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8f26;
/* rgb */ color: rgb(138, 143, 38);
/* oklch */ color: oklch(62.6% 0.124 112.2);
Tailwind
colors: {
  custom: {
    50: '#afaf68',
    500: '#8a8f26',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f26;
$custom-light: #afaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f26",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 62.857,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62633,
    "c": 0.12416,
    "h": 112.2
  },
  "luminance": 0.25188
}

Semantic roles & 50–950 ramp

primary
#8A8F26
secondary
#5D58B9
accent
#47E14E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8F26

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

Preview Lab → · Contrast checker → · Palette generator →

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