#8BA015#8BA015

#8BA015 is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.6% C 0.151 H 118.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8BA015
RGBrgb(139, 160, 21)
HSLhsl(69, 77%, 35%)
HSVhsv(69, 87%, 63%)
CMYKcmyk(13.1%, 0%, 86.9%, 37.3%)
CIE-LABlab(62.24, -24.08, 61.41)
CIE-LCHlch(62.24, 65.96, 111.41°)
OKLaboklab(66.63% -0.0728 0.1322)
OKLCHoklch(66.63% 0.151 118.9)
XYZxyz(23.3542, 30.6849, 5.4018)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8BA015 #2A15A0
analogous
#A07015 #8BA015 #45A015
triadic
#8BA015 #158BA0 #A0158B
tetradic
#8BA015 #15A070 #2A15A0 #A01545
square
#8BA015 #15A070 #2A15A0 #A01545
split-complementary
#8BA015 #1545A0 #7015A0
monochromatic
#2D3407 #5C6A0E #8BA015 #BAD61C #CFE748

Accessibility & contrast

On white

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

On black

7.14
#8BA015 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8BA015
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8BA015#FFFFFF#000000##000000
##8BA0151.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A99726
Tritanopia (blue-blind)
#949788
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8ba015;
/* rgb */ color: rgb(139, 160, 21);
/* oklch */ color: oklch(66.6% 0.151 118.9);
Tailwind
colors: {
  custom: {
    50: '#b1bc64',
    500: '#8ba015',
    950: '#000000',
  },
}
SCSS
$custom: #8ba015;
$custom-light: #b1bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#8ba015",
  "rgb": {
    "r": 139,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 69.065,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6663,
    "c": 0.15095,
    "h": 118.9
  },
  "luminance": 0.30685
}

Semantic roles & 50–950 ramp

primary
#8BA015
secondary
#5C49C8
accent
#34F351
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8BA015

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

Preview Lab → · Contrast checker → · Palette generator →

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