#8A951E#8A951E

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

Color values

HEX#8A951E
RGBrgb(138, 149, 30)
HSLhsl(66, 66%, 35%)
HSVhsv(66, 80%, 58%)
CMYKcmyk(7.4%, 0%, 79.9%, 41.6%)
CIE-LABlab(58.97, -18.65, 56.20)
CIE-LCHlch(58.97, 59.21, 108.36°)
OKLaboklab(63.99% -0.0573 0.1226)
OKLCHoklch(63.99% 0.135 115.1)
XYZxyz(21.4637, 26.9923, 5.3074)
Luminance0.2699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A951E #291E95
analogous
#95641E #8A951E #4F951E
triadic
#8A951E #1E8A95 #951E8A
tetradic
#8A951E #1E9564 #291E95 #951E4F
square
#8A951E #1E9564 #291E95 #951E4F
split-complementary
#8A951E #1E4F95 #641E95
monochromatic
#2C2F09 #5B6214 #8A951E #B9C828 #CFDC51

Accessibility & contrast

On white

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

On black

6.40
#8A951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A951E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A951E#FFFFFF#000000##000000
##8A951E1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9F8F29
Tritanopia (blue-blind)
#938C7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a951e;
/* rgb */ color: rgb(138, 149, 30);
/* oklch */ color: oklch(64.0% 0.135 115.1);
Tailwind
colors: {
  custom: {
    50: '#b0b465',
    500: '#8a951e',
    950: '#000000',
  },
}
SCSS
$custom: #8a951e;
$custom-light: #b0b465;
$custom-dark: #000000;
JSON
{
  "hex": "#8a951e",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 65.546,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63989,
    "c": 0.13532,
    "h": 115.1
  },
  "luminance": 0.26992
}

Semantic roles & 50–950 ramp

primary
#8A951E
secondary
#5A50BF
accent
#3EE94E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A951E

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

Preview Lab → · Contrast checker → · Palette generator →

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