#8A912E#8A912E

#8A912E is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.2% C 0.121 H 113.3°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A912E
RGBrgb(138, 145, 46)
HSLhsl(64, 52%, 37%)
HSVhsv(64, 68%, 57%)
CMYKcmyk(4.8%, 0%, 68.3%, 43.1%)
CIE-LABlab(57.90, -15.77, 49.39)
CIE-LCHlch(57.90, 51.85, 107.70°)
OKLaboklab(63.16% -0.0478 0.1111)
OKLCHoklch(63.16% 0.121 113.3)
XYZxyz(21.1004, 25.8518, 6.4626)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A912E #352E91
analogous
#91662E #8A912E #59912E
triadic
#8A912E #2E8A91 #912E8A
tetradic
#8A912E #2E9166 #352E91 #912E59
square
#8A912E #2E9166 #352E91 #912E59
split-complementary
#8A912E #2E5991 #662E91
monochromatic
#323411 #5E631F #8A912E #B6BF3D #C8D06A

Accessibility & contrast

On white

3.40
#8A912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8A912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A912E
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A912E#FFFFFF#000000##000000
##8A912E1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A20
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#93887D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a912e;
/* rgb */ color: rgb(138, 145, 46);
/* oklch */ color: oklch(63.2% 0.121 113.3);
Tailwind
colors: {
  custom: {
    50: '#afb16d',
    500: '#8a912e',
    950: '#000000',
  },
}
SCSS
$custom: #8a912e;
$custom-light: #afb16d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a912e",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 64.242,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63161,
    "c": 0.12091,
    "h": 113.3
  },
  "luminance": 0.25851
}

Semantic roles & 50–950 ramp

primary
#8A912E
secondary
#6A64B7
accent
#4DDB57
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A912E

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

Preview Lab → · Contrast checker → · Palette generator →

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