#8A8F24#8A8F24

#8A8F24 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.125 H 112.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A8F24
RGBrgb(138, 143, 36)
HSLhsl(63, 60%, 35%)
HSVhsv(63, 75%, 56%)
CMYKcmyk(3.5%, 0%, 74.8%, 43.9%)
CIE-LABlab(57.25, -15.27, 52.62)
CIE-LCHlch(57.25, 54.79, 106.18°)
OKLaboklab(62.62% -0.0474 0.1161)
OKLCHoklch(62.62% 0.125 112.2)
XYZxyz(20.6228, 25.1761, 5.4418)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F24 #29248F
analogous
#8F5F24 #8A8F24 #548F24
triadic
#8A8F24 #248A8F #8F248A
tetradic
#8A8F24 #248F5F #29248F #8F2454
square
#8A8F24 #248F5F #29248F #8F2454
split-complementary
#8A8F24 #24548F #5F248F
monochromatic
#2C2D0B #5B5E18 #8A8F24 #B9C030 #CFD558

Accessibility & contrast

On white

3.48
#8A8F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8A8F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F24
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F24#FFFFFF#000000##000000
##8A8F241.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880E
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#94867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8f24;
/* rgb */ color: rgb(138, 143, 36);
/* oklch */ color: oklch(62.6% 0.125 112.2);
Tailwind
colors: {
  custom: {
    50: '#afaf67',
    500: '#8a8f24',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f24;
$custom-light: #afaf67;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f24",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 62.804,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6262,
    "c": 0.1254,
    "h": 112.2
  },
  "luminance": 0.25176
}

Semantic roles & 50–950 ramp

primary
#8A8F24
secondary
#5A55B9
accent
#45E34C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8F24

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

Preview Lab → · Contrast checker → · Palette generator →

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