#9A8E25#9A8E25

#9A8E25 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.9% C 0.121 H 102.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#9A8E25
RGBrgb(154, 142, 37)
HSLhsl(54, 61%, 37%)
HSVhsv(54, 76%, 60%)
CMYKcmyk(0%, 7.8%, 76%, 39.6%)
CIE-LABlab(58.37, -7.47, 53.81)
CIE-LCHlch(58.37, 54.33, 97.91°)
OKLaboklab(63.86% -0.0264 0.1182)
OKLCHoklch(63.86% 0.121 102.6)
XYZxyz(23.3344, 26.3506, 5.6070)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A8E25 #25319A
analogous
#9A5325 #9A8E25 #6C9A25
triadic
#9A8E25 #259A8E #8E259A
tetradic
#9A8E25 #259A53 #25319A #9A256C
square
#9A8E25 #259A53 #25319A #9A256C
split-complementary
#9A8E25 #256C9A #53259A
monochromatic
#37330D #696119 #9A8E25 #CBBB31 #D9CD60

Accessibility & contrast

On white

3.35
#9A8E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#9A8E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A8E25
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A8E25#FFFFFF#000000##000000
##9A8E251.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8910
Deuteranopia (green-blind)
#9F8F2D
Tritanopia (blue-blind)
#A6847A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9a8e25;
/* rgb */ color: rgb(154, 142, 37);
/* oklch */ color: oklch(63.9% 0.121 102.6);
Tailwind
colors: {
  custom: {
    50: '#bbae68',
    500: '#9a8e25',
    950: '#000000',
  },
}
SCSS
$custom: #9a8e25;
$custom-light: #bbae68;
$custom-dark: #000000;
JSON
{
  "hex": "#9a8e25",
  "rgb": {
    "r": 154,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 53.846,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63856,
    "c": 0.12112,
    "h": 102.6
  },
  "luminance": 0.2635
}

Semantic roles & 50–950 ramp

primary
#9A8E25
secondary
#5D67BE
accent
#54E443
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A8E25

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

Preview Lab → · Contrast checker → · Palette generator →

#9A8E25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva