#8A9B34#8A9B34

#8A9B34 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.6% C 0.128 H 118.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8A9B34
RGBrgb(138, 155, 52)
HSLhsl(70, 50%, 41%)
HSVhsv(70, 66%, 61%)
CMYKcmyk(11%, 0%, 66.5%, 39.2%)
CIE-LABlab(60.86, -20.54, 49.96)
CIE-LCHlch(60.86, 54.01, 112.35°)
OKLaboklab(65.56% -0.0605 0.1132)
OKLCHoklch(65.56% 0.128 118.1)
XYZxyz(22.8228, 29.0941, 7.6616)
Luminance0.2909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B34 #45349B
analogous
#9B7834 #8A9B34 #569B34
triadic
#8A9B34 #348A9B #9B348A
tetradic
#8A9B34 #349B78 #45349B #9B3456
square
#8A9B34 #349B78 #45349B #9B3456
split-complementary
#8A9B34 #34569B #78349B
monochromatic
#383F15 #616D25 #8A9B34 #AEC24A #C3D278

Accessibility & contrast

On white

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

On black

6.82
#8A9B34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B34
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B34#FFFFFF#000000##000000
##8A9B341.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59326
Deuteranopia (green-blind)
#A3933B
Tritanopia (blue-blind)
#929386
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b34;
/* rgb */ color: rgb(138, 155, 52);
/* oklch */ color: oklch(65.6% 0.128 118.1);
Tailwind
colors: {
  custom: {
    50: '#afb871',
    500: '#8a9b34',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b34;
$custom-light: #afb871;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b34",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 52
  },
  "hsl": {
    "h": 69.903,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65557,
    "c": 0.12836,
    "h": 118.1
  },
  "luminance": 0.29094
}

Semantic roles & 50–950 ramp

primary
#8A9B34
secondary
#7D71BA
accent
#4FD965
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9B34

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

Preview Lab → · Contrast checker → · Palette generator →

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