#8A9C2B#8A9C2B

#8A9C2B is a light, vivid yellow. Relative luminance 0.294; OKLCH L 65.7% C 0.136 H 118.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A9C2B
RGBrgb(138, 156, 43)
HSLhsl(70, 57%, 39%)
HSVhsv(70, 72%, 61%)
CMYKcmyk(11.5%, 0%, 72.4%, 38.8%)
CIE-LABlab(61.09, -21.60, 53.77)
CIE-LCHlch(61.09, 57.94, 111.89°)
OKLaboklab(65.72% -0.0643 0.1198)
OKLCHoklch(65.72% 0.136 118.2)
XYZxyz(22.8062, 29.3548, 6.7496)
Luminance0.2935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9C2B #3D2B9C
analogous
#9C762B #8A9C2B #519C2B
triadic
#8A9C2B #2B8A9C #9C2B8A
tetradic
#8A9C2B #2B9C76 #3D2B9C #9C2B51
square
#8A9C2B #2B9C76 #3D2B9C #9C2B51
split-complementary
#8A9C2B #2B519C #762B9C
monochromatic
#353C11 #606C1E #8A9C2B #B2C93B #C5D66B

Accessibility & contrast

On white

3.06
#8A9C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8A9C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9C2B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9C2B#FFFFFF#000000##000000
##8A9C2B1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69317
Deuteranopia (green-blind)
#A59434
Tritanopia (blue-blind)
#929386
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9c2b;
/* rgb */ color: rgb(138, 156, 43);
/* oklch */ color: oklch(65.7% 0.136 118.2);
Tailwind
colors: {
  custom: {
    50: '#afb96c',
    500: '#8a9c2b',
    950: '#000000',
  },
}
SCSS
$custom: #8a9c2b;
$custom-light: #afb96c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9c2b",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 69.558,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65721,
    "c": 0.13594,
    "h": 118.2
  },
  "luminance": 0.29355
}

Semantic roles & 50–950 ramp

primary
#8A9C2B
secondary
#7466BD
accent
#48E060
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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