#8A8B24#8A8B24

#8A8B24 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.121 H 110.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8A8B24
RGBrgb(138, 139, 36)
HSLhsl(61, 59%, 34%)
HSVhsv(61, 74%, 55%)
CMYKcmyk(0.7%, 0%, 74.1%, 45.5%)
CIE-LABlab(56.08, -13.15, 51.51)
CIE-LCHlch(56.08, 53.16, 104.32°)
OKLaboklab(61.69% -0.0415 0.1138)
OKLCHoklch(61.69% 0.121 110)
XYZxyz(20.0330, 23.9965, 5.2452)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B24 #25248B
analogous
#8B5924 #8A8B24 #568B24
triadic
#8A8B24 #248A8B #8B248A
tetradic
#8A8B24 #248B59 #25248B #8B2456
square
#8A8B24 #248B59 #25248B #8B2456
split-complementary
#8A8B24 #24568B #59248B
monochromatic
#292A0B #5A5A17 #8A8B24 #BABC31 #D2D356

Accessibility & contrast

On white

3.62
#8A8B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A8B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B24
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B24#FFFFFF#000000##000000
##8A8B241.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968510
Deuteranopia (green-blind)
#97882C
Tritanopia (blue-blind)
#948277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8b24;
/* rgb */ color: rgb(138, 139, 36);
/* oklch */ color: oklch(61.7% 0.121 110.0);
Tailwind
colors: {
  custom: {
    50: '#afac67',
    500: '#8a8b24',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b24;
$custom-light: #afac67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b24",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 60.583,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.6169,
    "c": 0.12109,
    "h": 110
  },
  "luminance": 0.23996
}

Semantic roles & 50–950 ramp

primary
#8A8B24
secondary
#5453B7
accent
#46E247
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8B24

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

Preview Lab → · Contrast checker → · Palette generator →

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