#8A9B2D#8A9B2D

#8A9B2D is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.5% C 0.133 H 117.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8A9B2D
RGBrgb(138, 155, 45)
HSLhsl(69, 55%, 39%)
HSVhsv(69, 71%, 61%)
CMYKcmyk(11%, 0%, 71%, 39.2%)
CIE-LABlab(60.81, -20.98, 52.73)
CIE-LCHlch(60.81, 56.75, 111.70°)
OKLaboklab(65.5% -0.0624 0.1179)
OKLCHoklch(65.5% 0.133 117.9)
XYZxyz(22.6767, 29.0356, 6.8919)
Luminance0.2903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B2D #3E2D9B
analogous
#9B752D #8A9B2D #539B2D
triadic
#8A9B2D #2D8A9B #9B2D8A
tetradic
#8A9B2D #2D9B75 #3E2D9B #9B2D53
square
#8A9B2D #2D9B75 #3E2D9B #9B2D53
split-complementary
#8A9B2D #2D539B #752D9B
monochromatic
#363C11 #606C1F #8A9B2D #B2C73E #C5D56E

Accessibility & contrast

On white

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

On black

6.81
#8A9B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B2D
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B2D#FFFFFF#000000##000000
##8A9B2D1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921B
Deuteranopia (green-blind)
#A49336
Tritanopia (blue-blind)
#929285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b2d;
/* rgb */ color: rgb(138, 155, 45);
/* oklch */ color: oklch(65.5% 0.133 117.9);
Tailwind
colors: {
  custom: {
    50: '#afb86d',
    500: '#8a9b2d',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b2d;
$custom-light: #afb86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b2d",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 69.273,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65499,
    "c": 0.13342,
    "h": 117.9
  },
  "luminance": 0.29035
}

Semantic roles & 50–950 ramp

primary
#8A9B2D
secondary
#7568BC
accent
#49DE60
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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