#8FA226#8FA226

#8FA226 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.5% C 0.144 H 118.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8FA226
RGBrgb(143, 162, 38)
HSLhsl(69, 62%, 39%)
HSVhsv(69, 77%, 64%)
CMYKcmyk(11.7%, 0%, 76.5%, 36.5%)
CIE-LABlab(63.19, -22.72, 57.66)
CIE-LCHlch(63.19, 61.98, 111.50°)
OKLaboklab(67.5% -0.0681 0.127)
OKLCHoklch(67.5% 0.144 118.2)
XYZxyz(24.5984, 31.8205, 6.6795)
Luminance0.3182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA226 #3926A2
analogous
#A27726 #8FA226 #51A226
triadic
#8FA226 #268FA2 #A2268F
tetradic
#8FA226 #26A277 #3926A2 #A22651
square
#8FA226 #26A277 #3926A2 #A22651
split-complementary
#8FA226 #2651A2 #7726A2
monochromatic
#373F0F #63701A #8FA226 #B8D035 #CADB67

Accessibility & contrast

On white

2.85
#8FA226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#8FA226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA226
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA226#FFFFFF#000000##000000
##8FA2261.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9906
Deuteranopia (green-blind)
#AB9931
Tritanopia (blue-blind)
#98998B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa226;
/* rgb */ color: rgb(143, 162, 38);
/* oklch */ color: oklch(67.5% 0.144 118.2);
Tailwind
colors: {
  custom: {
    50: '#b3bd6b',
    500: '#8fa226',
    950: '#000000',
  },
}
SCSS
$custom: #8fa226;
$custom-light: #b3bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa226",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 69.194,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67495,
    "c": 0.14409,
    "h": 118.2
  },
  "luminance": 0.3182
}

Semantic roles & 50–950 ramp

primary
#8FA226
secondary
#7163C1
accent
#43E55C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA226

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

Preview Lab → · Contrast checker → · Palette generator →

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