#8A902F#8A902F

#8A902F is a light, moderate yellow. Relative luminance 0.256; OKLCH L 62.9% C 0.119 H 112.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8A902F
RGBrgb(138, 144, 47)
HSLhsl(64, 51%, 37%)
HSVhsv(64, 67%, 56%)
CMYKcmyk(4.2%, 0%, 67.4%, 43.5%)
CIE-LABlab(57.61, -15.18, 48.69)
CIE-LCHlch(57.61, 51.00, 107.31°)
OKLaboklab(62.94% -0.046 0.1097)
OKLCHoklch(62.94% 0.119 112.8)
XYZxyz(20.9682, 25.5555, 6.5169)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A902F #352F90
analogous
#90652F #8A902F #5A902F
triadic
#8A902F #2F8A90 #902F8A
tetradic
#8A902F #2F9065 #352F90 #902F5A
square
#8A902F #2F9065 #352F90 #902F5A
split-complementary
#8A902F #2F5A90 #652F90
monochromatic
#323411 #5E6220 #8A902F #B6BE3E #C8CF6B

Accessibility & contrast

On white

3.44
#8A902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#8A902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A902F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A902F#FFFFFF#000000##000000
##8A902F1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8921
Deuteranopia (green-blind)
#9B8B36
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a902f;
/* rgb */ color: rgb(138, 144, 47);
/* oklch */ color: oklch(62.9% 0.119 112.8);
Tailwind
colors: {
  custom: {
    50: '#afb06d',
    500: '#8a902f',
    950: '#000000',
  },
}
SCSS
$custom: #8a902f;
$custom-light: #afb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a902f",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 63.711,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62937,
    "c": 0.11901,
    "h": 112.8
  },
  "luminance": 0.25555
}

Semantic roles & 50–950 ramp

primary
#8A902F
secondary
#6A65B6
accent
#4EDA56
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A902F

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

Preview Lab → · Contrast checker → · Palette generator →

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