#8A903B#8A903B

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

Color values

HEX#8A903B
RGBrgb(138, 144, 59)
HSLhsl(64, 42%, 40%)
HSVhsv(64, 59%, 56%)
CMYKcmyk(4.2%, 0%, 59%, 43.5%)
CIE-LABlab(57.72, -14.31, 43.43)
CIE-LCHlch(57.72, 45.73, 108.24°)
OKLaboklab(63.06% -0.0423 0.1004)
OKLCHoklch(63.06% 0.109 112.8)
XYZxyz(21.2444, 25.6660, 7.9717)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A903B #413B90
analogous
#906B3B #8A903B #60903B
triadic
#8A903B #3B8A90 #903B8A
tetradic
#8A903B #3B906B #413B90 #903B60
square
#8A903B #3B906B #413B90 #903B60
split-complementary
#8A903B #3B6090 #6B3B90
monochromatic
#373917 #606529 #8A903B #B0B851 #C4C97C

Accessibility & contrast

On white

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

On black

6.13
#8A903B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A903B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A903B#FFFFFF#000000##000000
##8A903B1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A32
Deuteranopia (green-blind)
#9A8C40
Tritanopia (blue-blind)
#93887E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a903b;
/* rgb */ color: rgb(138, 144, 59);
/* oklch */ color: oklch(63.1% 0.109 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeb074',
    500: '#8a903b',
    950: '#000000',
  },
}
SCSS
$custom: #8a903b;
$custom-light: #aeb074;
$custom-dark: #000000;
JSON
{
  "hex": "#8a903b",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 59
  },
  "hsl": {
    "h": 64.235,
    "s": 41.872,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63056,
    "c": 0.10892,
    "h": 112.8
  },
  "luminance": 0.25666
}

Semantic roles & 50–950 ramp

primary
#8A903B
secondary
#7874B3
accent
#56D25F
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A903B

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

Preview Lab → · Contrast checker → · Palette generator →

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