#8BA021#8BA021

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

Color values

HEX#8BA021
RGBrgb(139, 160, 33)
HSLhsl(70, 66%, 38%)
HSVhsv(70, 79%, 63%)
CMYKcmyk(13.1%, 0%, 79.4%, 37.3%)
CIE-LABlab(62.29, -23.66, 58.31)
CIE-LCHlch(62.29, 62.92, 112.08°)
OKLaboklab(66.68% -0.0709 0.1276)
OKLCHoklch(66.68% 0.146 119.1)
XYZxyz(23.4933, 30.7405, 6.1344)
Luminance0.3074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA021 #3621A0
analogous
#A07521 #8BA021 #4CA021
triadic
#8BA021 #218BA0 #A0218B
tetradic
#8BA021 #21A075 #3621A0 #A0214C
square
#8BA021 #21A075 #3621A0 #A0214C
split-complementary
#8BA021 #214CA0 #7521A0
monochromatic
#333B0C #5F6D17 #8BA021 #B7D32B #C9DE5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8BA021#FFFFFF#000000##000000
##8BA0211.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)
#A8972E
Tritanopia (blue-blind)
#949789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ba021;
/* rgb */ color: rgb(139, 160, 33);
/* oklch */ color: oklch(66.7% 0.146 119.1);
Tailwind
colors: {
  custom: {
    50: '#b0bc68',
    500: '#8ba021',
    950: '#000000',
  },
}
SCSS
$custom: #8ba021;
$custom-light: #b0bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba021",
  "rgb": {
    "r": 139,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 69.921,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66683,
    "c": 0.14596,
    "h": 119.1
  },
  "luminance": 0.3074
}

Semantic roles & 50–950 ramp

primary
#8BA021
secondary
#6C5BC2
accent
#3FE95B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8BA021

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

Preview Lab → · Contrast checker → · Palette generator →

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