#8FA225#8FA225

#8FA225 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.5% C 0.145 H 118.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8FA225
RGBrgb(143, 162, 37)
HSLhsl(69, 63%, 39%)
HSVhsv(69, 77%, 64%)
CMYKcmyk(11.7%, 0%, 77.2%, 36.5%)
CIE-LABlab(63.19, -22.77, 57.99)
CIE-LCHlch(63.19, 62.29, 111.44°)
OKLaboklab(67.49% -0.0684 0.1275)
OKLCHoklch(67.49% 0.145 118.2)
XYZxyz(24.5825, 31.8141, 6.5956)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA225 #3825A2
analogous
#A27725 #8FA225 #51A225
triadic
#8FA225 #258FA2 #A2258F
tetradic
#8FA225 #25A277 #3825A2 #A22551
square
#8FA225 #25A277 #3825A2 #A22551
split-complementary
#8FA225 #2551A2 #7725A2
monochromatic
#373E0E #63701A #8FA225 #B9D134 #CADC65

Accessibility & contrast

On white

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

On black

7.36
#8FA225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA225
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA225#FFFFFF#000000##000000
##8FA2251.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8fa225;
/* rgb */ color: rgb(143, 162, 37);
/* oklch */ color: oklch(67.5% 0.145 118.2);
Tailwind
colors: {
  custom: {
    50: '#b3bd6a',
    500: '#8fa225',
    950: '#000000',
  },
}
SCSS
$custom: #8fa225;
$custom-light: #b3bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa225",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 69.12,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67489,
    "c": 0.14463,
    "h": 118.2
  },
  "luminance": 0.31814
}

Semantic roles & 50–950 ramp

primary
#8FA225
secondary
#7061C2
accent
#42E65B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA225

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

Preview Lab → · Contrast checker → · Palette generator →

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