#8FA023#8FA023

#8FA023 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.0% C 0.143 H 117.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8FA023
RGBrgb(143, 160, 35)
HSLhsl(68, 64%, 38%)
HSVhsv(68, 78%, 63%)
CMYKcmyk(10.6%, 0%, 78.1%, 37.3%)
CIE-LABlab(62.59, -21.85, 58.08)
CIE-LCHlch(62.59, 62.05, 110.62°)
OKLaboklab(67.01% -0.066 0.1273)
OKLCHoklch(67.01% 0.143 117.4)
XYZxyz(24.2025, 31.1029, 6.3183)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA023 #3423A0
analogous
#A07223 #8FA023 #50A023
triadic
#8FA023 #238FA0 #A0238F
tetradic
#8FA023 #23A072 #3423A0 #A02350
square
#8FA023 #23A072 #3423A0 #A02350
split-complementary
#8FA023 #2350A0 #7223A0
monochromatic
#353C0D #626E18 #8FA023 #BBD12F #CCDC61

Accessibility & contrast

On white

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

On black

7.22
#8FA023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA023
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA023#FFFFFF#000000##000000
##8FA0231.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AA982F
Tritanopia (blue-blind)
#989789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8fa023;
/* rgb */ color: rgb(143, 160, 35);
/* oklch */ color: oklch(67.0% 0.143 117.4);
Tailwind
colors: {
  custom: {
    50: '#b3bc69',
    500: '#8fa023',
    950: '#000000',
  },
}
SCSS
$custom: #8fa023;
$custom-light: #b3bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa023",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 68.16,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67007,
    "c": 0.14341,
    "h": 117.4
  },
  "luminance": 0.31103
}

Semantic roles & 50–950 ramp

primary
#8FA023
secondary
#6B5DC1
accent
#41E757
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8FA023

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

Preview Lab → · Contrast checker → · Palette generator →

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