#8A9025#8A9025

#8A9025 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.126 H 112.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A9025
RGBrgb(138, 144, 37)
HSLhsl(63, 59%, 35%)
HSVhsv(63, 74%, 56%)
CMYKcmyk(4.2%, 0%, 74.3%, 43.5%)
CIE-LABlab(57.54, -15.74, 52.54)
CIE-LCHlch(57.54, 54.85, 106.68°)
OKLaboklab(62.86% -0.0486 0.1161)
OKLCHoklch(62.86% 0.126 112.7)
XYZxyz(20.7891, 25.4838, 5.5737)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9025 #2B2590
analogous
#906025 #8A9025 #559025
triadic
#8A9025 #258A90 #90258A
tetradic
#8A9025 #259060 #2B2590 #902555
square
#8A9025 #259060 #2B2590 #902555
split-complementary
#8A9025 #255590 #602590
monochromatic
#2D2F0C #5B5F18 #8A9025 #B9C132 #CED55B

Accessibility & contrast

On white

3.44
#8A9025 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8A9025 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9025
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9025#FFFFFF#000000##000000
##8A90251.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8910
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#94877B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9025;
/* rgb */ color: rgb(138, 144, 37);
/* oklch */ color: oklch(62.9% 0.126 112.7);
Tailwind
colors: {
  custom: {
    50: '#afb068',
    500: '#8a9025',
    950: '#000000',
  },
}
SCSS
$custom: #8a9025;
$custom-light: #afb068;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9025",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 37
  },
  "hsl": {
    "h": 63.364,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6286,
    "c": 0.12589,
    "h": 112.7
  },
  "luminance": 0.25483
}

Semantic roles & 50–950 ramp

primary
#8A9025
secondary
#5D57B9
accent
#45E24E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9025

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

Preview Lab → · Contrast checker → · Palette generator →

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