#8A9A35#8A9A35

#8A9A35 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.3% C 0.126 H 117.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8A9A35
RGBrgb(138, 154, 53)
HSLhsl(70, 49%, 41%)
HSVhsv(70, 66%, 60%)
CMYKcmyk(10.4%, 0%, 65.6%, 39.6%)
CIE-LABlab(60.58, -19.96, 49.23)
CIE-LCHlch(60.58, 53.13, 112.07°)
OKLaboklab(65.33% -0.0588 0.1118)
OKLCHoklch(65.33% 0.126 117.7)
XYZxyz(22.6799, 28.7717, 7.7262)
Luminance0.2877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A35 #45359A
analogous
#9A7735 #8A9A35 #579A35
triadic
#8A9A35 #358A9A #9A358A
tetradic
#8A9A35 #359A77 #45359A #9A3557
square
#8A9A35 #359A77 #45359A #9A3557
split-complementary
#8A9A35 #35579A #77359A
monochromatic
#383F16 #616C25 #8A9A35 #AEC14B #C3D179

Accessibility & contrast

On white

3.11
#8A9A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#8A9A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A35
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A35#FFFFFF#000000##000000
##8A9A351.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49228
Deuteranopia (green-blind)
#A2933C
Tritanopia (blue-blind)
#929285
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a35;
/* rgb */ color: rgb(138, 154, 53);
/* oklch */ color: oklch(65.3% 0.126 117.7);
Tailwind
colors: {
  custom: {
    50: '#afb772',
    500: '#8a9a35',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a35;
$custom-light: #afb772;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a35",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 53
  },
  "hsl": {
    "h": 69.505,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65331,
    "c": 0.12634,
    "h": 117.7
  },
  "luminance": 0.28772
}

Semantic roles & 50–950 ramp

primary
#8A9A35
secondary
#7D71B9
accent
#4FD865
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9A35

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

Preview Lab → · Contrast checker → · Palette generator →

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