#8FA326#8FA326

#8FA326 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 67.7% C 0.145 H 118.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8FA326
RGBrgb(143, 163, 38)
HSLhsl(70, 62%, 39%)
HSVhsv(70, 77%, 64%)
CMYKcmyk(12.3%, 0%, 76.7%, 36.1%)
CIE-LABlab(63.49, -23.22, 57.94)
CIE-LCHlch(63.49, 62.42, 111.84°)
OKLaboklab(67.73% -0.0695 0.1275)
OKLCHoklch(67.73% 0.145 118.6)
XYZxyz(24.7753, 32.1742, 6.7384)
Luminance0.3217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA326 #3A26A3
analogous
#A37926 #8FA326 #51A326
triadic
#8FA326 #268FA3 #A3268F
tetradic
#8FA326 #26A379 #3A26A3 #A32651
square
#8FA326 #26A379 #3A26A3 #A32651
split-complementary
#8FA326 #2651A3 #7926A3
monochromatic
#38400F #63711A #8FA326 #B7D036 #C9DC68

Accessibility & contrast

On white

2.82
#8FA326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#8FA326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA326
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA326#FFFFFF#000000##000000
##8FA3261.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A06
Deuteranopia (green-blind)
#AC9A31
Tritanopia (blue-blind)
#989A8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa326;
/* rgb */ color: rgb(143, 163, 38);
/* oklch */ color: oklch(67.7% 0.145 118.6);
Tailwind
colors: {
  custom: {
    50: '#b3be6b',
    500: '#8fa326',
    950: '#000000',
  },
}
SCSS
$custom: #8fa326;
$custom-light: #b3be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa326",
  "rgb": {
    "r": 143,
    "g": 163,
    "b": 38
  },
  "hsl": {
    "h": 69.6,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6773,
    "c": 0.14526,
    "h": 118.6
  },
  "luminance": 0.32174
}

Semantic roles & 50–950 ramp

primary
#8FA326
secondary
#7263C2
accent
#43E55D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA326

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

Preview Lab → · Contrast checker → · Palette generator →

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