#8BA020#8BA020

#8BA020 is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.7% C 0.146 H 119.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8BA020
RGBrgb(139, 160, 32)
HSLhsl(70, 67%, 38%)
HSVhsv(70, 80%, 63%)
CMYKcmyk(13.1%, 0%, 80%, 37.3%)
CIE-LABlab(62.28, -23.70, 58.60)
CIE-LCHlch(62.28, 63.21, 112.02°)
OKLaboklab(66.68% -0.0711 0.128)
OKLCHoklch(66.68% 0.146 119)
XYZxyz(23.4795, 30.7350, 6.0618)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA020 #3520A0
analogous
#A07520 #8BA020 #4BA020
triadic
#8BA020 #208BA0 #A0208B
tetradic
#8BA020 #20A075 #3520A0 #A0204B
square
#8BA020 #20A075 #3520A0 #A0204B
split-complementary
#8BA020 #204BA0 #7520A0
monochromatic
#323A0C #5F6D16 #8BA020 #B7D32A #C9DE5C

Accessibility & contrast

On white

2.94
#8BA020 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8BA020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA020
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA020#FFFFFF#000000##000000
##8BA0201.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ba020;
/* rgb */ color: rgb(139, 160, 32);
/* oklch */ color: oklch(66.7% 0.146 119.0);
Tailwind
colors: {
  custom: {
    50: '#b0bc68',
    500: '#8ba020',
    950: '#000000',
  },
}
SCSS
$custom: #8ba020;
$custom-light: #b0bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba020",
  "rgb": {
    "r": 139,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 69.844,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66678,
    "c": 0.14645,
    "h": 119
  },
  "luminance": 0.30735
}

Semantic roles & 50–950 ramp

primary
#8BA020
secondary
#6A59C3
accent
#3EEA5A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA020

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

Preview Lab → · Contrast checker → · Palette generator →

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