#8A8124#8A8124

#8A8124 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.111 H 103.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8A8124
RGBrgb(138, 129, 36)
HSLhsl(55, 59%, 34%)
HSVhsv(55, 74%, 54%)
CMYKcmyk(0%, 6.5%, 73.9%, 45.9%)
CIE-LABlab(53.20, -7.74, 48.74)
CIE-LCHlch(53.20, 49.35, 99.02°)
OKLaboklab(59.39% -0.0263 0.1079)
OKLCHoklch(59.39% 0.111 103.7)
XYZxyz(18.6507, 21.2319, 4.7845)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8124 #242D8A
analogous
#8A4E24 #8A8124 #608A24
triadic
#8A8124 #248A81 #81248A
tetradic
#8A8124 #248A4E #242D8A #8A2460
square
#8A8124 #248A4E #242D8A #8A2460
split-complementary
#8A8124 #24608A #4E248A
monochromatic
#29260B #595417 #8A8124 #BBAE31 #D3C856

Accessibility & contrast

On white

4.00
#8A8124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8A8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8124
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8124#FFFFFF#000000##000000
##8A81241.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D14
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#95786F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a8124;
/* rgb */ color: rgb(138, 129, 36);
/* oklch */ color: oklch(59.4% 0.111 103.7);
Tailwind
colors: {
  custom: {
    50: '#afa566',
    500: '#8a8124',
    950: '#000000',
  },
}
SCSS
$custom: #8a8124;
$custom-light: #afa566;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8124",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 54.706,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59392,
    "c": 0.11106,
    "h": 103.7
  },
  "luminance": 0.21231
}

Semantic roles & 50–950 ramp

primary
#8A8124
secondary
#535CB7
accent
#54E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A8124

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

Preview Lab → · Contrast checker → · Palette generator →

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