#8FA028#8FA028

#8FA028 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#8FA028
RGBrgb(143, 160, 40)
HSLhsl(69, 60%, 39%)
HSVhsv(69, 75%, 63%)
CMYKcmyk(10.6%, 0%, 75%, 37.3%)
CIE-LABlab(62.62, -21.62, 56.45)
CIE-LCHlch(62.62, 60.45, 110.96°)
OKLaboklab(67.04% -0.0649 0.1247)
OKLCHoklch(67.04% 0.141 117.5)
XYZxyz(24.2821, 31.1347, 6.7375)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA028 #3928A0
analogous
#A07528 #8FA028 #53A028
triadic
#8FA028 #288FA0 #A0288F
tetradic
#8FA028 #28A075 #3928A0 #A02853
square
#8FA028 #28A075 #3928A0 #A02853
split-complementary
#8FA028 #2853A0 #7528A0
monochromatic
#373E10 #636F1C #8FA028 #B8CD38 #CAD969

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA028#FFFFFF#000000##000000
##8FA0281.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)
#AB970E
Deuteranopia (green-blind)
#A99832
Tritanopia (blue-blind)
#989789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8fa028;
/* rgb */ color: rgb(143, 160, 40);
/* oklch */ color: oklch(67.0% 0.141 117.5);
Tailwind
colors: {
  custom: {
    50: '#b3bc6b',
    500: '#8fa028',
    950: '#000000',
  },
}
SCSS
$custom: #8fa028;
$custom-light: #b3bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa028",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 68.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67037,
    "c": 0.14064,
    "h": 117.5
  },
  "luminance": 0.31134
}

Semantic roles & 50–950 ramp

primary
#8FA028
secondary
#7164C0
accent
#45E35B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8FA028

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

Preview Lab → · Contrast checker → · Palette generator →

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