#8A902E#8A902E

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

Color values

HEX#8A902E
RGBrgb(138, 144, 46)
HSLhsl(64, 52%, 37%)
HSVhsv(64, 68%, 56%)
CMYKcmyk(4.2%, 0%, 68.1%, 43.5%)
CIE-LABlab(57.60, -15.24, 49.09)
CIE-LCHlch(57.60, 51.41, 107.25°)
OKLaboklab(62.93% -0.0463 0.1104)
OKLCHoklch(62.93% 0.12 112.8)
XYZxyz(20.9482, 25.5475, 6.4119)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A902E #342E90
analogous
#90652E #8A902E #59902E
triadic
#8A902E #2E8A90 #902E8A
tetradic
#8A902E #2E9065 #342E90 #902E59
square
#8A902E #2E9065 #342E90 #902E59
split-complementary
#8A902E #2E5990 #652E90
monochromatic
#313310 #5E621F #8A902E #B6BE3D #C9CF69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A902E#FFFFFF#000000##000000
##8A902E1.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)
#9B8920
Deuteranopia (green-blind)
#9B8B35
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a902e;
/* rgb */ color: rgb(138, 144, 46);
/* oklch */ color: oklch(62.9% 0.120 112.8);
Tailwind
colors: {
  custom: {
    50: '#afb06d',
    500: '#8a902e',
    950: '#000000',
  },
}
SCSS
$custom: #8a902e;
$custom-light: #afb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a902e",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 46
  },
  "hsl": {
    "h": 63.673,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62928,
    "c": 0.11976,
    "h": 112.8
  },
  "luminance": 0.25547
}

Semantic roles & 50–950 ramp

primary
#8A902E
secondary
#6964B6
accent
#4DDB55
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A902E

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

Preview Lab → · Contrast checker → · Palette generator →

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