#8A8E27#8A8E27

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

Color values

HEX#8A8E27
RGBrgb(138, 142, 39)
HSLhsl(62, 57%, 35%)
HSVhsv(62, 73%, 56%)
CMYKcmyk(2.8%, 0%, 72.5%, 44.3%)
CIE-LABlab(56.97, -14.59, 51.25)
CIE-LCHlch(56.97, 53.28, 105.89°)
OKLaboklab(62.41% -0.0452 0.1138)
OKLCHoklch(62.41% 0.122 111.7)
XYZxyz(20.5211, 24.8963, 5.6435)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8E27 #2B278E
analogous
#8E5E27 #8A8E27 #568E27
triadic
#8A8E27 #278A8E #8E278A
tetradic
#8A8E27 #278E5E #2B278E #8E2756
square
#8A8E27 #278E5E #2B278E #8E2756
split-complementary
#8A8E27 #27568E #5E278E
monochromatic
#2D2E0D #5B5E1A #8A8E27 #B9BE34 #CED25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8E27#FFFFFF#000000##000000
##8A8E271.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)
#998715
Deuteranopia (green-blind)
#9A8A2F
Tritanopia (blue-blind)
#94857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8e27;
/* rgb */ color: rgb(138, 142, 39);
/* oklch */ color: oklch(62.4% 0.122 111.7);
Tailwind
colors: {
  custom: {
    50: '#afae69',
    500: '#8a8e27',
    950: '#000000',
  },
}
SCSS
$custom: #8a8e27;
$custom-light: #afae69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8e27",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 62.33,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62408,
    "c": 0.12242,
    "h": 111.7
  },
  "luminance": 0.24896
}

Semantic roles & 50–950 ramp

primary
#8A8E27
secondary
#5D59B8
accent
#48E04E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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