#8FA018#8FA018

#8FA018 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.0% C 0.148 H 117.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8FA018
RGBrgb(143, 160, 24)
HSLhsl(68, 74%, 36%)
HSVhsv(68, 85%, 63%)
CMYKcmyk(10.6%, 0%, 85%, 37.3%)
CIE-LABlab(62.55, -22.26, 61.10)
CIE-LCHlch(62.55, 65.03, 110.02°)
OKLaboklab(66.96% -0.0679 0.1319)
OKLCHoklch(66.96% 0.148 117.2)
XYZxyz(24.0640, 31.0475, 5.5891)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA018 #2918A0
analogous
#A06D18 #8FA018 #4BA018
triadic
#8FA018 #188FA0 #A0188F
tetradic
#8FA018 #18A06D #2918A0 #A0184B
square
#8FA018 #18A06D #2918A0 #A0184B
split-complementary
#8FA018 #184BA0 #6D18A0
monochromatic
#303608 #5F6B10 #8FA018 #BFD520 #D2E44E

Accessibility & contrast

On white

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

On black

7.21
#8FA018 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA018
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA018#FFFFFF#000000##000000
##8FA0181.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AA9827
Tritanopia (blue-blind)
#989688
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8fa018;
/* rgb */ color: rgb(143, 160, 24);
/* oklch */ color: oklch(67.0% 0.148 117.2);
Tailwind
colors: {
  custom: {
    50: '#b4bc65',
    500: '#8fa018',
    950: '#000000',
  },
}
SCSS
$custom: #8fa018;
$custom-light: #b4bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa018",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 67.5,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66955,
    "c": 0.14832,
    "h": 117.2
  },
  "luminance": 0.31047
}

Semantic roles & 50–950 ramp

primary
#8FA018
secondary
#5C4DC6
accent
#37F14E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8FA018

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

Preview Lab → · Contrast checker → · Palette generator →

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