#8A8F25#8A8F25

#8A8F25 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.125 H 112.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A8F25
RGBrgb(138, 143, 37)
HSLhsl(63, 59%, 35%)
HSVhsv(63, 74%, 56%)
CMYKcmyk(3.5%, 0%, 74.1%, 43.9%)
CIE-LABlab(57.25, -15.22, 52.26)
CIE-LCHlch(57.25, 54.43, 106.24°)
OKLaboklab(62.63% -0.0472 0.1155)
OKLCHoklch(62.63% 0.125 112.2)
XYZxyz(20.6383, 25.1823, 5.5234)
Luminance0.2518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F25 #2A258F
analogous
#8F5F25 #8A8F25 #558F25
triadic
#8A8F25 #258A8F #8F258A
tetradic
#8A8F25 #258F5F #2A258F #8F2555
square
#8A8F25 #258F5F #2A258F #8F2555
split-complementary
#8A8F25 #25558F #5F258F
monochromatic
#2C2E0C #5B5E18 #8A8F25 #B9C032 #CFD45A

Accessibility & contrast

On white

3.48
#8A8F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8A8F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F25
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F25#FFFFFF#000000##000000
##8A8F251.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8810
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#94867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8f25;
/* rgb */ color: rgb(138, 143, 37);
/* oklch */ color: oklch(62.6% 0.125 112.2);
Tailwind
colors: {
  custom: {
    50: '#afaf68',
    500: '#8a8f25',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f25;
$custom-light: #afaf68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f25",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 37
  },
  "hsl": {
    "h": 62.83,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62626,
    "c": 0.12479,
    "h": 112.2
  },
  "luminance": 0.25182
}

Semantic roles & 50–950 ramp

primary
#8A8F25
secondary
#5B57B9
accent
#46E24D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8F25

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

Preview Lab → · Contrast checker → · Palette generator →

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