#8FA123#8FA123

#8FA123 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.2% C 0.145 H 117.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8FA123
RGBrgb(143, 161, 35)
HSLhsl(69, 64%, 38%)
HSVhsv(69, 78%, 63%)
CMYKcmyk(11.2%, 0%, 78.3%, 36.9%)
CIE-LABlab(62.89, -22.35, 58.34)
CIE-LCHlch(62.89, 62.48, 110.96°)
OKLaboklab(67.24% -0.0674 0.1279)
OKLCHoklch(67.24% 0.145 117.8)
XYZxyz(24.3765, 31.4510, 6.3763)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA123 #3523A1
analogous
#A17423 #8FA123 #50A123
triadic
#8FA123 #238FA1 #A1238F
tetradic
#8FA123 #23A174 #3523A1 #A12350
square
#8FA123 #23A174 #3523A1 #A12350
split-complementary
#8FA123 #2350A1 #7423A1
monochromatic
#363C0D #626F18 #8FA123 #BBD22F #CBDD62

Accessibility & contrast

On white

2.88
#8FA123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#8FA123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA123
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA123#FFFFFF#000000##000000
##8FA1231.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AA992F
Tritanopia (blue-blind)
#98988A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa123;
/* rgb */ color: rgb(143, 161, 35);
/* oklch */ color: oklch(67.2% 0.145 117.8);
Tailwind
colors: {
  custom: {
    50: '#b3bc69',
    500: '#8fa123',
    950: '#000000',
  },
}
SCSS
$custom: #8fa123;
$custom-light: #b3bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa123",
  "rgb": {
    "r": 143,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 68.571,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.67242,
    "c": 0.14454,
    "h": 117.8
  },
  "luminance": 0.31451
}

Semantic roles & 50–950 ramp

primary
#8FA123
secondary
#6C5EC2
accent
#41E758
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA123

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

Preview Lab → · Contrast checker → · Palette generator →

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