#8FA227#8FA227

#8FA227 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.37:1 contrast (WCAG AA passes).

Color values

HEX#8FA227
RGBrgb(143, 162, 39)
HSLhsl(69, 61%, 39%)
HSVhsv(69, 76%, 64%)
CMYKcmyk(11.7%, 0%, 75.9%, 36.5%)
CIE-LABlab(63.20, -22.67, 57.34)
CIE-LCHlch(63.20, 61.66, 111.58°)
OKLaboklab(67.5% -0.0679 0.1264)
OKLCHoklch(67.5% 0.144 118.2)
XYZxyz(24.6148, 31.8270, 6.7656)
Luminance0.3183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA227 #3A27A2
analogous
#A27827 #8FA227 #52A227
triadic
#8FA227 #278FA2 #A2278F
tetradic
#8FA227 #27A278 #3A27A2 #A22752
square
#8FA227 #27A278 #3A27A2 #A22752
split-complementary
#8FA227 #2752A2 #7827A2
monochromatic
#383F0F #63711B #8FA227 #B7CF37 #C9DB69

Accessibility & contrast

On white

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

On black

7.37
#8FA227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA227
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA227#FFFFFF#000000##000000
##8FA2271.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa227;
/* rgb */ color: rgb(143, 162, 39);
/* oklch */ color: oklch(67.5% 0.144 118.2);
Tailwind
colors: {
  custom: {
    50: '#b3bd6b',
    500: '#8fa227',
    950: '#000000',
  },
}
SCSS
$custom: #8fa227;
$custom-light: #b3bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa227",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 69.268,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67501,
    "c": 0.14353,
    "h": 118.2
  },
  "luminance": 0.31827
}

Semantic roles & 50–950 ramp

primary
#8FA227
secondary
#7264C1
accent
#43E45C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA227

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

Preview Lab → · Contrast checker → · Palette generator →

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