#8A9034#8A9034

#8A9034 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.0% C 0.115 H 112.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8A9034
RGBrgb(138, 144, 52)
HSLhsl(64, 47%, 38%)
HSVhsv(64, 64%, 56%)
CMYKcmyk(4.2%, 0%, 63.9%, 43.5%)
CIE-LABlab(57.65, -14.84, 46.57)
CIE-LCHlch(57.65, 48.88, 107.68°)
OKLaboklab(62.98% -0.0446 0.1061)
OKLCHoklch(62.98% 0.115 112.8)
XYZxyz(21.0749, 25.5982, 7.0789)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9034 #3A3490
analogous
#906834 #8A9034 #5C9034
triadic
#8A9034 #348A90 #90348A
tetradic
#8A9034 #349068 #3A3490 #90345C
square
#8A9034 #349068 #3A3490 #90345C
split-complementary
#8A9034 #345C90 #683490
monochromatic
#343614 #5F6324 #8A9034 #B4BC45 #C6CC72

Accessibility & contrast

On white

3.43
#8A9034 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8A9034 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9034
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9034#FFFFFF#000000##000000
##8A90341.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8929
Deuteranopia (green-blind)
#9B8C3A
Tritanopia (blue-blind)
#93887D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9034;
/* rgb */ color: rgb(138, 144, 52);
/* oklch */ color: oklch(63.0% 0.115 112.8);
Tailwind
colors: {
  custom: {
    50: '#afb070',
    500: '#8a9034',
    950: '#000000',
  },
}
SCSS
$custom: #8a9034;
$custom-light: #afb070;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9034",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 52
  },
  "hsl": {
    "h": 63.913,
    "s": 46.939,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62983,
    "c": 0.11504,
    "h": 112.8
  },
  "luminance": 0.25598
}

Semantic roles & 50–950 ramp

primary
#8A9034
secondary
#706BB4
accent
#51D75A
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9034

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

Preview Lab → · Contrast checker → · Palette generator →

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