#8A903E#8A903E

#8A903E is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.1% C 0.106 H 112.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8A903E
RGBrgb(138, 144, 62)
HSLhsl(64, 40%, 40%)
HSVhsv(64, 57%, 56%)
CMYKcmyk(4.2%, 0%, 56.9%, 43.5%)
CIE-LABlab(57.75, -14.06, 42.04)
CIE-LCHlch(57.75, 44.33, 108.50°)
OKLaboklab(63.09% -0.0413 0.0978)
OKLCHoklch(63.09% 0.106 112.9)
XYZxyz(21.3245, 25.6980, 8.3934)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A903E #443E90
analogous
#906D3E #8A903E #61903E
triadic
#8A903E #3E8A90 #903E8A
tetradic
#8A903E #3E906D #443E90 #903E61
square
#8A903E #3E906D #443E90 #903E61
split-complementary
#8A903E #3E6190 #6D3E90
monochromatic
#383A19 #61652C #8A903E #AFB655 #C3C880

Accessibility & contrast

On white

3.42
#8A903E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#8A903E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A903E
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A903E#FFFFFF#000000##000000
##8A903E1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A36
Deuteranopia (green-blind)
#9A8C43
Tritanopia (blue-blind)
#92887E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a903e;
/* rgb */ color: rgb(138, 144, 62);
/* oklch */ color: oklch(63.1% 0.106 112.9);
Tailwind
colors: {
  custom: {
    50: '#aeb076',
    500: '#8a903e',
    950: '#000000',
  },
}
SCSS
$custom: #8a903e;
$custom-light: #aeb076;
$custom-dark: #000000;
JSON
{
  "hex": "#8a903e",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 62
  },
  "hsl": {
    "h": 64.39,
    "s": 39.806,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6309,
    "c": 0.10611,
    "h": 112.9
  },
  "luminance": 0.25698
}

Semantic roles & 50–950 ramp

primary
#8A903E
secondary
#7C77B2
accent
#58D061
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8A903E

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

Preview Lab → · Contrast checker → · Palette generator →

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