#8E8A35#8E8A35

#8E8A35 is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.107 H 106.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8E8A35
RGBrgb(142, 138, 53)
HSLhsl(57, 46%, 38%)
HSVhsv(57, 63%, 56%)
CMYKcmyk(0%, 2.8%, 62.7%, 44.3%)
CIE-LABlab(56.27, -9.79, 44.74)
CIE-LCHlch(56.27, 45.79, 102.35°)
OKLaboklab(61.97% -0.0304 0.1022)
OKLCHoklch(61.97% 0.107 106.6)
XYZxyz(20.8871, 24.1855, 6.9355)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A35 #35398E
analogous
#8E5D35 #8E8A35 #658E35
triadic
#8E8A35 #358E8A #8A358E
tetradic
#8E8A35 #358E5D #35398E #8E3565
square
#8E8A35 #358E5D #35398E #8E3565
split-complementary
#8E8A35 #35658E #5D358E
monochromatic
#353314 #615F24 #8E8A35 #BAB546 #CBC773

Accessibility & contrast

On white

3.60
#8E8A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8E8A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A35
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A35#FFFFFF#000000##000000
##8E8A351.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852B
Deuteranopia (green-blind)
#97893A
Tritanopia (blue-blind)
#988178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8a35;
/* rgb */ color: rgb(142, 138, 53);
/* oklch */ color: oklch(62.0% 0.107 106.6);
Tailwind
colors: {
  custom: {
    50: '#b1ab70',
    500: '#8e8a35',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a35;
$custom-light: #b1ab70;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a35",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 57.303,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61967,
    "c": 0.10666,
    "h": 106.6
  },
  "luminance": 0.24185
}

Semantic roles & 50–950 ramp

primary
#8E8A35
secondary
#6C6FB3
accent
#58D552
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8E8A35

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

Preview Lab → · Contrast checker → · Palette generator →

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