#8A951D#8A951D

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

Color values

HEX#8A951D
RGBrgb(138, 149, 29)
HSLhsl(66, 67%, 35%)
HSVhsv(66, 81%, 58%)
CMYKcmyk(7.4%, 0%, 80.5%, 41.6%)
CIE-LABlab(58.96, -18.69, 56.49)
CIE-LCHlch(58.96, 59.51, 108.31°)
OKLaboklab(63.98% -0.0575 0.123)
OKLCHoklch(63.98% 0.136 115)
XYZxyz(21.4511, 26.9873, 5.2412)
Luminance0.2699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A951D #281D95
analogous
#95641D #8A951D #4E951D
triadic
#8A951D #1D8A95 #951D8A
tetradic
#8A951D #1D9564 #281D95 #951D4E
square
#8A951D #1D9564 #281D95 #951D4E
split-complementary
#8A951D #1D4E95 #641D95
monochromatic
#2B2F09 #5B6213 #8A951D #B9C827 #D0DD50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A951D#FFFFFF#000000##000000
##8A951D1.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)
#A08F29
Tritanopia (blue-blind)
#938C7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a951d;
/* rgb */ color: rgb(138, 149, 29);
/* oklch */ color: oklch(64.0% 0.136 115.0);
Tailwind
colors: {
  custom: {
    50: '#b0b465',
    500: '#8a951d',
    950: '#000000',
  },
}
SCSS
$custom: #8a951d;
$custom-light: #b0b465;
$custom-dark: #000000;
JSON
{
  "hex": "#8a951d",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 65.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63984,
    "c": 0.1358,
    "h": 115
  },
  "luminance": 0.26987
}

Semantic roles & 50–950 ramp

primary
#8A951D
secondary
#594EC0
accent
#3DEA4D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A951D

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

Preview Lab → · Contrast checker → · Palette generator →

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