#8A9A2C#8A9A2C

#8A9A2C is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.3% C 0.133 H 117.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A9A2C
RGBrgb(138, 154, 44)
HSLhsl(69, 56%, 39%)
HSVhsv(69, 71%, 60%)
CMYKcmyk(10.4%, 0%, 71.4%, 39.6%)
CIE-LABlab(60.51, -20.53, 52.82)
CIE-LCHlch(60.51, 56.67, 111.24°)
OKLaboklab(65.26% -0.0613 0.1179)
OKLCHoklch(65.26% 0.133 117.5)
XYZxyz(22.4920, 28.6966, 6.7365)
Luminance0.2870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9A2C #3C2C9A
analogous
#9A732C #8A9A2C #539A2C
triadic
#8A9A2C #2C8A9A #9A2C8A
tetradic
#8A9A2C #2C9A73 #3C2C9A #9A2C53
square
#8A9A2C #2C9A73 #3C2C9A #9A2C53
split-complementary
#8A9A2C #2C539A #732C9A
monochromatic
#353B11 #5F6A1E #8A9A2C #B3C73C #C6D56C

Accessibility & contrast

On white

3.12
#8A9A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8A9A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9A2C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9A2C#FFFFFF#000000##000000
##8A9A2C1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49219
Deuteranopia (green-blind)
#A39335
Tritanopia (blue-blind)
#939184
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a9a2c;
/* rgb */ color: rgb(138, 154, 44);
/* oklch */ color: oklch(65.3% 0.133 117.5);
Tailwind
colors: {
  custom: {
    50: '#afb76d',
    500: '#8a9a2c',
    950: '#000000',
  },
}
SCSS
$custom: #8a9a2c;
$custom-light: #afb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9a2c",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 68.727,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65256,
    "c": 0.13291,
    "h": 117.5
  },
  "luminance": 0.28696
}

Semantic roles & 50–950 ramp

primary
#8A9A2C
secondary
#7366BC
accent
#49DF5F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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