#8A9D1B#8A9D1B

#8A9D1B is a light, vivid yellow. Relative luminance 0.296; OKLCH L 65.9% C 0.146 H 118.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8A9D1B
RGBrgb(138, 157, 27)
HSLhsl(69, 71%, 36%)
HSVhsv(69, 83%, 62%)
CMYKcmyk(12.1%, 0%, 82.8%, 38.4%)
CIE-LABlab(61.30, -22.83, 59.12)
CIE-LCHlch(61.30, 63.37, 111.11°)
OKLaboklab(65.86% -0.069 0.1283)
OKLCHoklch(65.86% 0.146 118.3)
XYZxyz(22.7366, 29.5966, 5.5516)
Luminance0.2960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D1B #2E1B9D
analogous
#9D6F1B #8A9D1B #499D1B
triadic
#8A9D1B #1B8A9D #9D1B8A
tetradic
#8A9D1B #1B9D6F #2E1B9D #9D1B49
square
#8A9D1B #1B9D6F #2E1B9D #9D1B49
split-complementary
#8A9D1B #1B499D #6F1B9D
monochromatic
#2E3509 #5C6912 #8A9D1B #B8D124 #CCE151

Accessibility & contrast

On white

3.04
#8A9D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#8A9D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9D1B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9D1B#FFFFFF#000000##000000
##8A9D1B1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A69529
Tritanopia (blue-blind)
#939486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9d1b;
/* rgb */ color: rgb(138, 157, 27);
/* oklch */ color: oklch(65.9% 0.146 118.3);
Tailwind
colors: {
  custom: {
    50: '#b0b965',
    500: '#8a9d1b',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d1b;
$custom-light: #b0b965;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d1b",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 27
  },
  "hsl": {
    "h": 68.769,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65864,
    "c": 0.14569,
    "h": 118.3
  },
  "luminance": 0.29596
}

Semantic roles & 50–950 ramp

primary
#8A9D1B
secondary
#6150C4
accent
#3AED55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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