#8A9125#8A9125

#8A9125 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.1% C 0.127 H 113.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8A9125
RGBrgb(138, 145, 37)
HSLhsl(64, 59%, 36%)
HSVhsv(64, 74%, 57%)
CMYKcmyk(4.8%, 0%, 74.5%, 43.1%)
CIE-LABlab(57.84, -16.27, 52.82)
CIE-LCHlch(57.84, 55.27, 107.12°)
OKLaboklab(63.09% -0.0501 0.1167)
OKLCHoklch(63.09% 0.127 113.2)
XYZxyz(20.9412, 25.7881, 5.6244)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9125 #2C2591
analogous
#916225 #8A9125 #549125
triadic
#8A9125 #258A91 #91258A
tetradic
#8A9125 #259162 #2C2591 #912554
square
#8A9125 #259162 #2C2591 #912554
split-complementary
#8A9125 #255491 #622591
monochromatic
#2D2F0C #5C6019 #8A9125 #B8C231 #CDD55B

Accessibility & contrast

On white

3.41
#8A9125 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#8A9125 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9125
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9125#FFFFFF#000000##000000
##8A91251.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0F
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#94887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a9125;
/* rgb */ color: rgb(138, 145, 37);
/* oklch */ color: oklch(63.1% 0.127 113.2);
Tailwind
colors: {
  custom: {
    50: '#afb168',
    500: '#8a9125',
    950: '#000000',
  },
}
SCSS
$custom: #8a9125;
$custom-light: #afb168;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9125",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 37
  },
  "hsl": {
    "h": 63.889,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63093,
    "c": 0.127,
    "h": 113.2
  },
  "luminance": 0.25788
}

Semantic roles & 50–950 ramp

primary
#8A9125
secondary
#5E58BA
accent
#45E34F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9125

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

Preview Lab → · Contrast checker → · Palette generator →

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