#8A9B2C#8A9B2C

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

Color values

HEX#8A9B2C
RGBrgb(138, 155, 44)
HSLhsl(69, 56%, 39%)
HSVhsv(69, 72%, 61%)
CMYKcmyk(11%, 0%, 71.6%, 39.2%)
CIE-LABlab(60.81, -21.04, 53.11)
CIE-LCHlch(60.81, 57.12, 111.61°)
OKLaboklab(65.49% -0.0627 0.1186)
OKLCHoklch(65.49% 0.134 117.9)
XYZxyz(22.6577, 29.0280, 6.7917)
Luminance0.2903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B2C #3D2C9B
analogous
#9B752C #8A9B2C #539B2C
triadic
#8A9B2C #2C8A9B #9B2C8A
tetradic
#8A9B2C #2C9B75 #3D2C9B #9B2C53
square
#8A9B2C #2C9B75 #3D2C9B #9B2C53
split-complementary
#8A9B2C #2C539B #752C9B
monochromatic
#353C11 #606B1E #8A9B2C #B2C83C #C5D56C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9B2C#FFFFFF#000000##000000
##8A9B2C1.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)
#A59219
Deuteranopia (green-blind)
#A49335
Tritanopia (blue-blind)
#929285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b2c;
/* rgb */ color: rgb(138, 155, 44);
/* oklch */ color: oklch(65.5% 0.134 117.9);
Tailwind
colors: {
  custom: {
    50: '#afb86d',
    500: '#8a9b2c',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b2c;
$custom-light: #afb86d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b2c",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 44
  },
  "hsl": {
    "h": 69.189,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65492,
    "c": 0.1341,
    "h": 117.9
  },
  "luminance": 0.29028
}

Semantic roles & 50–950 ramp

primary
#8A9B2C
secondary
#7467BC
accent
#49DF60
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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