#8FA223#8FA223

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

Color values

HEX#8FA223
RGBrgb(143, 162, 35)
HSLhsl(69, 64%, 39%)
HSVhsv(69, 78%, 64%)
CMYKcmyk(11.7%, 0%, 78.4%, 36.5%)
CIE-LABlab(63.18, -22.85, 58.61)
CIE-LCHlch(63.18, 62.91, 111.30°)
OKLaboklab(67.48% -0.0688 0.1284)
OKLCHoklch(67.48% 0.146 118.2)
XYZxyz(24.5520, 31.8019, 6.4348)
Luminance0.3180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA223 #3623A2
analogous
#A27523 #8FA223 #4FA223
triadic
#8FA223 #238FA2 #A2238F
tetradic
#8FA223 #23A275 #3623A2 #A2234F
square
#8FA223 #23A275 #3623A2 #A2234F
split-complementary
#8FA223 #234FA2 #7523A2
monochromatic
#363D0D #637018 #8FA223 #BAD230 #CBDD62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8FA223#FFFFFF#000000##000000
##8FA2231.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)
#AD9900
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#98998B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa223;
/* rgb */ color: rgb(143, 162, 35);
/* oklch */ color: oklch(67.5% 0.146 118.2);
Tailwind
colors: {
  custom: {
    50: '#b3bd69',
    500: '#8fa223',
    950: '#000000',
  },
}
SCSS
$custom: #8fa223;
$custom-light: #b3bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa223",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 68.976,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67477,
    "c": 0.14569,
    "h": 118.2
  },
  "luminance": 0.31802
}

Semantic roles & 50–950 ramp

primary
#8FA223
secondary
#6D5EC2
accent
#40E759
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA223

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

Preview Lab → · Contrast checker → · Palette generator →

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