#8FA126#8FA126

#8FA126 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.3% C 0.143 H 117.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8FA126
RGBrgb(143, 161, 38)
HSLhsl(69, 62%, 39%)
HSVhsv(69, 76%, 63%)
CMYKcmyk(11.2%, 0%, 76.4%, 36.9%)
CIE-LABlab(62.90, -22.22, 57.39)
CIE-LCHlch(62.90, 61.54, 111.16°)
OKLaboklab(67.26% -0.0668 0.1264)
OKLCHoklch(67.26% 0.143 117.8)
XYZxyz(24.4230, 31.4696, 6.6210)
Luminance0.3147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA126 #3826A1
analogous
#A17626 #8FA126 #52A126
triadic
#8FA126 #268FA1 #A1268F
tetradic
#8FA126 #26A176 #3826A1 #A12652
square
#8FA126 #26A176 #3826A1 #A12652
split-complementary
#8FA126 #2652A1 #7626A1
monochromatic
#373E0F #636F1A #8FA126 #B9CF35 #CADB66

Accessibility & contrast

On white

2.88
#8FA126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#8FA126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA126
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA126#FFFFFF#000000##000000
##8FA1261.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9807
Deuteranopia (green-blind)
#AA9931
Tritanopia (blue-blind)
#98988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa126;
/* rgb */ color: rgb(143, 161, 38);
/* oklch */ color: oklch(67.3% 0.143 117.8);
Tailwind
colors: {
  custom: {
    50: '#b3bc6b',
    500: '#8fa126',
    950: '#000000',
  },
}
SCSS
$custom: #8fa126;
$custom-light: #b3bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa126",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 68.78,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6726,
    "c": 0.14293,
    "h": 117.8
  },
  "luminance": 0.31469
}

Semantic roles & 50–950 ramp

primary
#8FA126
secondary
#7062C1
accent
#43E55B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA126

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

Preview Lab → · Contrast checker → · Palette generator →

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