#8A9B25#8A9B25

#8A9B25 is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.4% C 0.138 H 117.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A9B25
RGBrgb(138, 155, 37)
HSLhsl(69, 61%, 38%)
HSVhsv(69, 76%, 61%)
CMYKcmyk(11%, 0%, 76.1%, 39.2%)
CIE-LABlab(60.76, -21.41, 55.59)
CIE-LCHlch(60.76, 59.57, 111.06°)
OKLaboklab(65.44% -0.0643 0.1226)
OKLCHoklch(65.44% 0.138 117.7)
XYZxyz(22.5370, 28.9798, 6.1563)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9B25 #36259B
analogous
#9B7125 #8A9B25 #4F9B25
triadic
#8A9B25 #258A9B #9B258A
tetradic
#8A9B25 #259B71 #36259B #9B254F
square
#8A9B25 #259B71 #36259B #9B254F
split-complementary
#8A9B25 #254F9B #71259B
monochromatic
#32380D #5E6A19 #8A9B25 #B6CC31 #C8D961

Accessibility & contrast

On white

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

On black

6.80
#8A9B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9B25
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9B25#FFFFFF#000000##000000
##8A9B251.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69209
Deuteranopia (green-blind)
#A49330
Tritanopia (blue-blind)
#939285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9b25;
/* rgb */ color: rgb(138, 155, 37);
/* oklch */ color: oklch(65.4% 0.138 117.7);
Tailwind
colors: {
  custom: {
    50: '#afb869',
    500: '#8a9b25',
    950: '#000000',
  },
}
SCSS
$custom: #8a9b25;
$custom-light: #afb869;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9b25",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 37
  },
  "hsl": {
    "h": 68.644,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65444,
    "c": 0.13842,
    "h": 117.7
  },
  "luminance": 0.2898
}

Semantic roles & 50–950 ramp

primary
#8A9B25
secondary
#6B5DBF
accent
#43E55A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9B25

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

Preview Lab → · Contrast checker → · Palette generator →

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