#8A9124#8A9124

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

Color values

HEX#8A9124
RGBrgb(138, 145, 36)
HSLhsl(64, 60%, 35%)
HSVhsv(64, 75%, 57%)
CMYKcmyk(4.8%, 0%, 75.2%, 43.1%)
CIE-LABlab(57.83, -16.32, 53.17)
CIE-LCHlch(57.83, 55.62, 107.06°)
OKLaboklab(63.09% -0.0503 0.1173)
OKLCHoklch(63.09% 0.128 113.2)
XYZxyz(20.9257, 25.7819, 5.5428)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9124 #2B2491
analogous
#916124 #8A9124 #539124
triadic
#8A9124 #248A91 #91248A
tetradic
#8A9124 #249161 #2B2491 #912453
square
#8A9124 #249161 #2B2491 #912453
split-complementary
#8A9124 #245391 #612491
monochromatic
#2D2F0C #5B6018 #8A9124 #B9C230 #CED659

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9124#FFFFFF#000000##000000
##8A91241.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)
#9C8A0D
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#94887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a9124;
/* rgb */ color: rgb(138, 145, 36);
/* oklch */ color: oklch(63.1% 0.128 113.2);
Tailwind
colors: {
  custom: {
    50: '#afb167',
    500: '#8a9124',
    950: '#000000',
  },
}
SCSS
$custom: #8a9124;
$custom-light: #afb167;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9124",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 63.853,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63087,
    "c": 0.12761,
    "h": 113.2
  },
  "luminance": 0.25781
}

Semantic roles & 50–950 ramp

primary
#8A9124
secondary
#5D56BA
accent
#44E34F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9124

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

Preview Lab → · Contrast checker → · Palette generator →

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