#8A9B2E#8A9B2E

#8A9B2E is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.5% C 0.133 H 117.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8A9B2E
RGBrgb(138, 155, 46)
HSLhsl(69, 54%, 39%)
HSVhsv(69, 70%, 61%)
CMYKcmyk(11%, 0%, 70.3%, 39.2%)
CIE-LABlab(60.82, -20.92, 52.35)
CIE-LCHlch(60.82, 56.37, 111.78°)
OKLaboklab(65.51% -0.0622 0.1173)
OKLCHoklch(65.51% 0.133 117.9)
XYZxyz(22.6962, 29.0434, 6.9945)
Luminance0.2904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B2E #3F2E9B
analogous
#9B762E #8A9B2E #549B2E
triadic
#8A9B2E #2E8A9B #9B2E8A
tetradic
#8A9B2E #2E9B76 #3F2E9B #9B2E54
square
#8A9B2E #2E9B76 #3F2E9B #9B2E54
split-complementary
#8A9B2E #2E549B #762E9B
monochromatic
#363D12 #606C20 #8A9B2E #B1C640 #C5D46F

Accessibility & contrast

On white

3.08
#8A9B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#8A9B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B2E
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B2E#FFFFFF#000000##000000
##8A9B2E1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921D
Deuteranopia (green-blind)
#A49336
Tritanopia (blue-blind)
#929285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b2e;
/* rgb */ color: rgb(138, 155, 46);
/* oklch */ color: oklch(65.5% 0.133 117.9);
Tailwind
colors: {
  custom: {
    50: '#afb86e',
    500: '#8a9b2e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b2e;
$custom-light: #afb86e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b2e",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 69.358,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65507,
    "c": 0.13274,
    "h": 117.9
  },
  "luminance": 0.29043
}

Semantic roles & 50–950 ramp

primary
#8A9B2E
secondary
#7669BC
accent
#4ADE61
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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