#8A9435#8A9435

#8A9435 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 63.9% C 0.119 H 114.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8A9435
RGBrgb(138, 148, 53)
HSLhsl(66, 47%, 39%)
HSVhsv(66, 64%, 58%)
CMYKcmyk(6.8%, 0%, 64.2%, 42%)
CIE-LABlab(58.83, -16.87, 47.38)
CIE-LCHlch(58.83, 50.29, 109.60°)
OKLaboklab(63.92% -0.0501 0.1079)
OKLCHoklch(63.92% 0.119 114.9)
XYZxyz(21.7142, 26.8405, 7.4043)
Luminance0.2684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9435 #3F3594
analogous
#946F35 #8A9435 #5B9435
triadic
#8A9435 #358A94 #94358A
tetradic
#8A9435 #35946F #3F3594 #94355B
square
#8A9435 #35946F #3F3594 #94355B
split-complementary
#8A9435 #355B94 #6F3594
monochromatic
#363A15 #606725 #8A9435 #B1BE49 #C5CE76

Accessibility & contrast

On white

3.30
#8A9435 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#8A9435 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9435
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9435#FFFFFF#000000##000000
##8A94351.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D29
Deuteranopia (green-blind)
#9E8E3B
Tritanopia (blue-blind)
#938C80
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9435;
/* rgb */ color: rgb(138, 148, 53);
/* oklch */ color: oklch(63.9% 0.119 114.9);
Tailwind
colors: {
  custom: {
    50: '#afb371',
    500: '#8a9435',
    950: '#000000',
  },
}
SCSS
$custom: #8a9435;
$custom-light: #afb371;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9435",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 53
  },
  "hsl": {
    "h": 66.316,
    "s": 47.264,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63924,
    "c": 0.11899,
    "h": 114.9
  },
  "luminance": 0.2684
}

Semantic roles & 50–950 ramp

primary
#8A9435
secondary
#766EB6
accent
#51D75F
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9435

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

Preview Lab → · Contrast checker → · Palette generator →

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