#8E8E2F#8E8E2F

#8E8E2F is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.116 H 109.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8E8E2F
RGBrgb(142, 142, 47)
HSLhsl(60, 50%, 37%)
HSVhsv(60, 67%, 56%)
CMYKcmyk(0%, 0%, 66.9%, 44.3%)
CIE-LABlab(57.37, -12.34, 48.54)
CIE-LCHlch(57.37, 50.08, 104.27°)
OKLaboklab(62.82% -0.0383 0.1093)
OKLCHoklch(62.82% 0.116 109.3)
XYZxyz(21.3421, 25.3026, 6.4484)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8E2F #2F2F8E
analogous
#8E5F2F #8E8E2F #5F8E2F
triadic
#8E8E2F #2F8E8E #8E2F8E
tetradic
#8E8E2F #2F8E5F #2F2F8E #8E2F5F
square
#8E8E2F #2F8E5F #2F2F8E #8E2F5F
split-complementary
#8E8E2F #2F5F8E #5F2F8E
monochromatic
#323211 #606020 #8E8E2F #BCBC3E #CECE6A

Accessibility & contrast

On white

3.47
#8E8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8E8E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8E2F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8E2F#FFFFFF#000000##000000
##8E8E2F1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998822
Deuteranopia (green-blind)
#9B8B35
Tritanopia (blue-blind)
#98857B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8e8e2f;
/* rgb */ color: rgb(142, 142, 47);
/* oklch */ color: oklch(62.8% 0.116 109.3);
Tailwind
colors: {
  custom: {
    50: '#b2ae6d',
    500: '#8e8e2f',
    950: '#000000',
  },
}
SCSS
$custom: #8e8e2f;
$custom-light: #b2ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8e2f",
  "rgb": {
    "r": 142,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 60,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62824,
    "c": 0.11584,
    "h": 109.3
  },
  "luminance": 0.25302
}

Semantic roles & 50–950 ramp

primary
#8E8E2F
secondary
#6464B5
accent
#4EDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E8E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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