#8A9335#8A9335

#8A9335 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 63.7% C 0.118 H 114.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8A9335
RGBrgb(138, 147, 53)
HSLhsl(66, 47%, 39%)
HSVhsv(66, 64%, 58%)
CMYKcmyk(6.1%, 0%, 63.9%, 42.4%)
CIE-LABlab(58.53, -16.35, 47.07)
CIE-LCHlch(58.53, 49.82, 109.15°)
OKLaboklab(63.69% -0.0487 0.1073)
OKLCHoklch(63.69% 0.118 114.4)
XYZxyz(21.5581, 26.5281, 7.3523)
Luminance0.2653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9335 #3E3593
analogous
#936D35 #8A9335 #5B9335
triadic
#8A9335 #358A93 #93358A
tetradic
#8A9335 #35936D #3E3593 #93355B
square
#8A9335 #35936D #3E3593 #93355B
split-complementary
#8A9335 #355B93 #6D3593
monochromatic
#363915 #606625 #8A9335 #B2BD48 #C5CD75

Accessibility & contrast

On white

3.33
#8A9335 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#8A9335 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9335
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9335#FFFFFF#000000##000000
##8A93351.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C29
Deuteranopia (green-blind)
#9D8E3B
Tritanopia (blue-blind)
#938B7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a9335;
/* rgb */ color: rgb(138, 147, 53);
/* oklch */ color: oklch(63.7% 0.118 114.4);
Tailwind
colors: {
  custom: {
    50: '#afb271',
    500: '#8a9335',
    950: '#000000',
  },
}
SCSS
$custom: #8a9335;
$custom-light: #afb271;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9335",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 53
  },
  "hsl": {
    "h": 65.745,
    "s": 47,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63691,
    "c": 0.11779,
    "h": 114.4
  },
  "luminance": 0.26528
}

Semantic roles & 50–950 ramp

primary
#8A9335
secondary
#756EB6
accent
#51D75E
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9335

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

Preview Lab → · Contrast checker → · Palette generator →

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