#8A8D30#8A8D30

#8A8D30 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.115 H 111.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8A8D30
RGBrgb(138, 141, 48)
HSLhsl(62, 49%, 37%)
HSVhsv(62, 66%, 55%)
CMYKcmyk(2.1%, 0%, 66%, 44.7%)
CIE-LABlab(56.75, -13.53, 47.37)
CIE-LCHlch(56.75, 49.26, 105.94°)
OKLaboklab(62.25% -0.0413 0.1071)
OKLCHoklch(62.25% 0.115 111.1)
XYZxyz(20.5402, 24.6669, 6.4749)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D30 #33308D
analogous
#8D6130 #8A8D30 #5C8D30
triadic
#8A8D30 #308A8D #8D308A
tetradic
#8A8D30 #308D61 #33308D #8D305C
square
#8A8D30 #308D61 #33308D #8D305C
split-complementary
#8A8D30 #305C8D #61308D
monochromatic
#313211 #5D5F20 #8A8D30 #B7BB40 #C9CD6B

Accessibility & contrast

On white

3.54
#8A8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#8A8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D30
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D30#FFFFFF#000000##000000
##8A8D301.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988724
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#93847A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d30;
/* rgb */ color: rgb(138, 141, 48);
/* oklch */ color: oklch(62.2% 0.115 111.1);
Tailwind
colors: {
  custom: {
    50: '#afae6d',
    500: '#8a8d30',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d30;
$custom-light: #afae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d30",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 61.935,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62249,
    "c": 0.11481,
    "h": 111.1
  },
  "luminance": 0.24666
}

Semantic roles & 50–950 ramp

primary
#8A8D30
secondary
#6765B4
accent
#4FD953
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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