#8A9030#8A9030

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

Color values

HEX#8A9030
RGBrgb(138, 144, 48)
HSLhsl(64, 50%, 38%)
HSVhsv(64, 67%, 56%)
CMYKcmyk(4.2%, 0%, 66.7%, 43.5%)
CIE-LABlab(57.62, -15.11, 48.27)
CIE-LCHlch(57.62, 50.58, 107.38°)
OKLaboklab(62.95% -0.0457 0.109)
OKLCHoklch(62.95% 0.118 112.8)
XYZxyz(20.9886, 25.5636, 6.6244)
Luminance0.2556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9030 #363090
analogous
#906630 #8A9030 #5A9030
triadic
#8A9030 #308A90 #90308A
tetradic
#8A9030 #309066 #363090 #90305A
square
#8A9030 #309066 #363090 #90305A
split-complementary
#8A9030 #305A90 #663090
monochromatic
#323411 #5E6221 #8A9030 #B6BE3F #C8CE6C

Accessibility & contrast

On white

3.44
#8A9030 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#8A9030 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9030
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9030#FFFFFF#000000##000000
##8A90301.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8923
Deuteranopia (green-blind)
#9B8B37
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9030;
/* rgb */ color: rgb(138, 144, 48);
/* oklch */ color: oklch(62.9% 0.118 112.8);
Tailwind
colors: {
  custom: {
    50: '#afb06e',
    500: '#8a9030',
    950: '#000000',
  },
}
SCSS
$custom: #8a9030;
$custom-light: #afb06e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9030",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 48
  },
  "hsl": {
    "h": 63.75,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62946,
    "c": 0.11824,
    "h": 112.8
  },
  "luminance": 0.25563
}

Semantic roles & 50–950 ramp

primary
#8A9030
secondary
#6B66B5
accent
#4EDA57
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9030

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

Preview Lab → · Contrast checker → · Palette generator →

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