#8A8E24#8A8E24

#8A8E24 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.124 H 111.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8A8E24
RGBrgb(138, 142, 36)
HSLhsl(62, 60%, 35%)
HSVhsv(62, 75%, 56%)
CMYKcmyk(2.8%, 0%, 74.6%, 44.3%)
CIE-LABlab(56.96, -14.74, 52.34)
CIE-LCHlch(56.96, 54.38, 105.73°)
OKLaboklab(62.39% -0.0459 0.1155)
OKLCHoklch(62.39% 0.124 111.7)
XYZxyz(20.4733, 24.8772, 5.3920)
Luminance0.2488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E24 #28248E
analogous
#8E5D24 #8A8E24 #558E24
triadic
#8A8E24 #248A8E #8E248A
tetradic
#8A8E24 #248E5D #28248E #8E2455
square
#8A8E24 #248E5D #28248E #8E2455
split-complementary
#8A8E24 #24558E #5D248E
monochromatic
#2B2C0B #5B5D18 #8A8E24 #B9BF30 #D0D558

Accessibility & contrast

On white

3.51
#8A8E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8A8E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8E24
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8E24#FFFFFF#000000##000000
##8A8E241.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870E
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#94857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8e24;
/* rgb */ color: rgb(138, 142, 36);
/* oklch */ color: oklch(62.4% 0.124 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae67',
    500: '#8a8e24',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e24;
$custom-light: #afae67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e24",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 62.264,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62387,
    "c": 0.12431,
    "h": 111.7
  },
  "luminance": 0.24877
}

Semantic roles & 50–950 ramp

primary
#8A8E24
secondary
#5955B9
accent
#45E34B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8E24

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

Preview Lab → · Contrast checker → · Palette generator →

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