#8A8F1E#8A8F1E

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

Color values

HEX#8A8F1E
RGBrgb(138, 143, 30)
HSLhsl(63, 65%, 34%)
HSVhsv(63, 79%, 56%)
CMYKcmyk(3.5%, 0%, 79%, 43.9%)
CIE-LABlab(57.21, -15.54, 54.62)
CIE-LCHlch(57.21, 56.78, 105.88°)
OKLaboklab(62.58% -0.0487 0.1192)
OKLCHoklch(62.58% 0.129 112.2)
XYZxyz(20.5387, 25.1424, 4.9991)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F1E #231E8F
analogous
#8F5C1E #8A8F1E #528F1E
triadic
#8A8F1E #1E8A8F #8F1E8A
tetradic
#8A8F1E #1E8F5C #231E8F #8F1E52
square
#8A8F1E #1E8F5C #231E8F #8F1E52
split-complementary
#8A8F1E #1E528F #5C1E8F
monochromatic
#282A09 #595C13 #8A8F1E #BBC229 #D4DA4E

Accessibility & contrast

On white

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

On black

6.03
#8A8F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F1E
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F1E#FFFFFF#000000##000000
##8A8F1E1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#94867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8f1e;
/* rgb */ color: rgb(138, 143, 30);
/* oklch */ color: oklch(62.6% 0.129 112.2);
Tailwind
colors: {
  custom: {
    50: '#b0af64',
    500: '#8a8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f1e;
$custom-light: #b0af64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f1e",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 62.655,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62583,
    "c": 0.12877,
    "h": 112.2
  },
  "luminance": 0.25142
}

Semantic roles & 50–950 ramp

primary
#8A8F1E
secondary
#514CBC
accent
#40E847
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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