#8A8E30#8A8E30

#8A8E30 is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.116 H 111.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8A8E30
RGBrgb(138, 142, 48)
HSLhsl(63, 49%, 37%)
HSVhsv(63, 66%, 56%)
CMYKcmyk(2.8%, 0%, 66.2%, 44.3%)
CIE-LABlab(57.04, -14.06, 47.67)
CIE-LCHlch(57.04, 49.70, 106.43°)
OKLaboklab(62.48% -0.0428 0.1078)
OKLCHoklch(62.48% 0.116 111.7)
XYZxyz(20.6883, 24.9632, 6.5243)
Luminance0.2496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E30 #34308E
analogous
#8E6330 #8A8E30 #5B8E30
triadic
#8A8E30 #308A8E #8E308A
tetradic
#8A8E30 #308E63 #34308E #8E305B
square
#8A8E30 #308E63 #34308E #8E305B
split-complementary
#8A8E30 #305B8E #63308E
monochromatic
#313311 #5E6021 #8A8E30 #B6BC3F #C9CD6B

Accessibility & contrast

On white

3.50
#8A8E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8A8E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E30
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E30#FFFFFF#000000##000000
##8A8E301.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998823
Deuteranopia (green-blind)
#998A36
Tritanopia (blue-blind)
#93857B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8e30;
/* rgb */ color: rgb(138, 142, 48);
/* oklch */ color: oklch(62.5% 0.116 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae6e',
    500: '#8a8e30',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e30;
$custom-light: #afae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e30",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 62.553,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62481,
    "c": 0.11594,
    "h": 111.7
  },
  "luminance": 0.24963
}

Semantic roles & 50–950 ramp

primary
#8A8E30
secondary
#6965B4
accent
#4FD955
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8E30

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

Preview Lab → · Contrast checker → · Palette generator →

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