#8A951A#8A951A

#8A951A is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.0% C 0.137 H 115.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8A951A
RGBrgb(138, 149, 26)
HSLhsl(65, 70%, 34%)
HSVhsv(65, 83%, 58%)
CMYKcmyk(7.4%, 0%, 82.6%, 41.6%)
CIE-LABlab(58.95, -18.80, 57.34)
CIE-LCHlch(58.95, 60.34, 108.16°)
OKLaboklab(63.97% -0.058 0.1243)
OKLCHoklch(63.97% 0.137 115)
XYZxyz(21.4158, 26.9731, 5.0553)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A951A #251A95
analogous
#95631A #8A951A #4D951A
triadic
#8A951A #1A8A95 #951A8A
tetradic
#8A951A #1A9563 #251A95 #951A4D
square
#8A951A #1A9563 #251A95 #951A4D
split-complementary
#8A951A #1A4D95 #631A95
monochromatic
#292D08 #5A6111 #8A951A #BAC923 #D2DF4A

Accessibility & contrast

On white

3.28
#8A951A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#8A951A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A951A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A951A#FFFFFF#000000##000000
##8A951A1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#948C7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a951a;
/* rgb */ color: rgb(138, 149, 26);
/* oklch */ color: oklch(64.0% 0.137 115.0);
Tailwind
colors: {
  custom: {
    50: '#b0b464',
    500: '#8a951a',
    950: '#000000',
  },
}
SCSS
$custom: #8a951a;
$custom-light: #b0b464;
$custom-dark: #000000;
JSON
{
  "hex": "#8a951a",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 65.366,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63969,
    "c": 0.13719,
    "h": 115
  },
  "luminance": 0.26973
}

Semantic roles & 50–950 ramp

primary
#8A951A
secondary
#544AC1
accent
#3BED4B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A951A

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

Preview Lab → · Contrast checker → · Palette generator →

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