#8FA027#8FA027

#8FA027 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.0% C 0.141 H 117.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8FA027
RGBrgb(143, 160, 39)
HSLhsl(68, 61%, 39%)
HSVhsv(68, 76%, 63%)
CMYKcmyk(10.6%, 0%, 75.6%, 37.3%)
CIE-LABlab(62.62, -21.67, 56.79)
CIE-LCHlch(62.62, 60.78, 110.89°)
OKLaboklab(67.03% -0.0652 0.1253)
OKLCHoklch(67.03% 0.141 117.5)
XYZxyz(24.2653, 31.1280, 6.6491)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA027 #3827A0
analogous
#A07527 #8FA027 #53A027
triadic
#8FA027 #278FA0 #A0278F
tetradic
#8FA027 #27A075 #3827A0 #A02753
square
#8FA027 #27A075 #3827A0 #A02753
split-complementary
#8FA027 #2753A0 #7527A0
monochromatic
#373E0F #636F1B #8FA027 #B9CE36 #CADA67

Accessibility & contrast

On white

2.91
#8FA027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#8FA027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA027
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA027#FFFFFF#000000##000000
##8FA0271.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970B
Deuteranopia (green-blind)
#A99832
Tritanopia (blue-blind)
#989789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8fa027;
/* rgb */ color: rgb(143, 160, 39);
/* oklch */ color: oklch(67.0% 0.141 117.5);
Tailwind
colors: {
  custom: {
    50: '#b3bc6b',
    500: '#8fa027',
    950: '#000000',
  },
}
SCSS
$custom: #8fa027;
$custom-light: #b3bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa027",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 68.43,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67031,
    "c": 0.14122,
    "h": 117.5
  },
  "luminance": 0.31128
}

Semantic roles & 50–950 ramp

primary
#8FA027
secondary
#7063C0
accent
#44E45A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8FA027

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

Preview Lab → · Contrast checker → · Palette generator →

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