#8A9935#8A9935

#8A9935 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.1% C 0.125 H 117.3°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8A9935
RGBrgb(138, 153, 53)
HSLhsl(69, 49%, 40%)
HSVhsv(69, 65%, 60%)
CMYKcmyk(9.8%, 0%, 65.4%, 40%)
CIE-LABlab(60.29, -19.45, 48.92)
CIE-LCHlch(60.29, 52.65, 111.68°)
OKLaboklab(65.1% -0.0574 0.1112)
OKLCHoklch(65.1% 0.125 117.3)
XYZxyz(22.5155, 28.4430, 7.6714)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9935 #443599
analogous
#997635 #8A9935 #589935
triadic
#8A9935 #358A99 #99358A
tetradic
#8A9935 #359976 #443599 #993558
square
#8A9935 #359976 #443599 #993558
split-complementary
#8A9935 #355899 #763599
monochromatic
#383E16 #616C25 #8A9935 #AFC14B #C3D078

Accessibility & contrast

On white

3.14
#8A9935 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#8A9935 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9935
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9935#FFFFFF#000000##000000
##8A99351.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39128
Deuteranopia (green-blind)
#A2923C
Tritanopia (blue-blind)
#929184
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a9935;
/* rgb */ color: rgb(138, 153, 53);
/* oklch */ color: oklch(65.1% 0.125 117.3);
Tailwind
colors: {
  custom: {
    50: '#afb771',
    500: '#8a9935',
    950: '#000000',
  },
}
SCSS
$custom: #8a9935;
$custom-light: #afb771;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9935",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 53
  },
  "hsl": {
    "h": 69,
    "s": 48.544,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65096,
    "c": 0.1251,
    "h": 117.3
  },
  "luminance": 0.28443
}

Semantic roles & 50–950 ramp

primary
#8A9935
secondary
#7C71B9
accent
#50D864
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8A9935

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

Preview Lab → · Contrast checker → · Palette generator →

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