#8FA014#8FA014

#8FA014 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 66.9% C 0.150 H 117.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8FA014
RGBrgb(143, 160, 20)
HSLhsl(67, 78%, 35%)
HSVhsv(67, 88%, 63%)
CMYKcmyk(10.6%, 0%, 87.5%, 37.3%)
CIE-LABlab(62.53, -22.37, 61.99)
CIE-LCHlch(62.53, 65.90, 109.84°)
OKLaboklab(66.94% -0.0684 0.1332)
OKLCHoklch(66.94% 0.15 117.2)
XYZxyz(24.0254, 31.0321, 5.3858)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA014 #2514A0
analogous
#A06B14 #8FA014 #49A014
triadic
#8FA014 #148FA0 #A0148F
tetradic
#8FA014 #14A06B #2514A0 #A01449
square
#8FA014 #14A06B #2514A0 #A01449
split-complementary
#8FA014 #1449A0 #6B14A0
monochromatic
#2E3306 #5E6A0D #8FA014 #C0D61B #D4E846

Accessibility & contrast

On white

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

On black

7.21
#8FA014 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA014
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA014#FFFFFF#000000##000000
##8FA0141.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AA9825
Tritanopia (blue-blind)
#999688
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8fa014;
/* rgb */ color: rgb(143, 160, 20);
/* oklch */ color: oklch(66.9% 0.150 117.2);
Tailwind
colors: {
  custom: {
    50: '#b4bc63',
    500: '#8fa014',
    950: '#000000',
  },
}
SCSS
$custom: #8fa014;
$custom-light: #b4bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa014",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 20
  },
  "hsl": {
    "h": 67.286,
    "s": 77.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6694,
    "c": 0.14971,
    "h": 117.2
  },
  "luminance": 0.31032
}

Semantic roles & 50–950 ramp

primary
#8FA014
secondary
#5747C9
accent
#34F44B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8FA014

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

Preview Lab → · Contrast checker → · Palette generator →

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