#8A9D1C#8A9D1C

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

Color values

HEX#8A9D1C
RGBrgb(138, 157, 28)
HSLhsl(69, 70%, 36%)
HSVhsv(69, 82%, 62%)
CMYKcmyk(12.1%, 0%, 82.2%, 38.4%)
CIE-LABlab(61.31, -22.79, 58.85)
CIE-LCHlch(61.31, 63.11, 111.17°)
OKLaboklab(65.87% -0.0688 0.1279)
OKLCHoklch(65.87% 0.145 118.3)
XYZxyz(22.7484, 29.6013, 5.6136)
Luminance0.2960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9D1C #2F1C9D
analogous
#9D701C #8A9D1C #4A9D1C
triadic
#8A9D1C #1C8A9D #9D1C8A
tetradic
#8A9D1C #1C9D70 #2F1C9D #9D1C4A
square
#8A9D1C #1C9D70 #2F1C9D #9D1C4A
split-complementary
#8A9D1C #1C4A9D #701C9D
monochromatic
#2F3509 #5C6913 #8A9D1C #B8D125 #CCE053

Accessibility & contrast

On white

3.03
#8A9D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9D1C#FFFFFF#000000##000000
##8A9D1C1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9d1c;
/* rgb */ color: rgb(138, 157, 28);
/* oklch */ color: oklch(65.9% 0.145 118.3);
Tailwind
colors: {
  custom: {
    50: '#b0b966',
    500: '#8a9d1c',
    950: '#000000',
  },
}
SCSS
$custom: #8a9d1c;
$custom-light: #b0b966;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9d1c",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 28
  },
  "hsl": {
    "h": 68.837,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65868,
    "c": 0.14526,
    "h": 118.3
  },
  "luminance": 0.29601
}

Semantic roles & 50–950 ramp

primary
#8A9D1C
secondary
#6251C3
accent
#3BED55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A9D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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