#8A9B1E#8A9B1E

#8A9B1E is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.4% C 0.142 H 117.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A9B1E
RGBrgb(138, 155, 30)
HSLhsl(68, 68%, 36%)
HSVhsv(68, 81%, 61%)
CMYKcmyk(11%, 0%, 80.6%, 39.2%)
CIE-LABlab(60.73, -21.71, 57.77)
CIE-LCHlch(60.73, 61.72, 110.60°)
OKLaboklab(65.4% -0.0657 0.126)
OKLCHoklch(65.4% 0.142 117.6)
XYZxyz(22.4375, 28.9400, 5.6320)
Luminance0.2894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B1E #2F1E9B
analogous
#9B6E1E #8A9B1E #4C9B1E
triadic
#8A9B1E #1E8A9B #9B1E8A
tetradic
#8A9B1E #1E9B6E #2F1E9B #9B1E4C
square
#8A9B1E #1E9B6E #2F1E9B #9B1E4C
split-complementary
#8A9B1E #1E4C9B #6E1E9B
monochromatic
#2F340A #5C6814 #8A9B1E #B8CE28 #CCDE55

Accessibility & contrast

On white

3.09
#8A9B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8A9B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B1E
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B1E#FFFFFF#000000##000000
##8A9B1E1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A4932A
Tritanopia (blue-blind)
#939284
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9b1e;
/* rgb */ color: rgb(138, 155, 30);
/* oklch */ color: oklch(65.4% 0.142 117.6);
Tailwind
colors: {
  custom: {
    50: '#b0b866',
    500: '#8a9b1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b1e;
$custom-light: #b0b866;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b1e",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 30
  },
  "hsl": {
    "h": 68.16,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65404,
    "c": 0.14207,
    "h": 117.6
  },
  "luminance": 0.2894
}

Semantic roles & 50–950 ramp

primary
#8A9B1E
secondary
#6253C2
accent
#3DEA55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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