#7E8032#7E8032

#7E8032 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.101 H 110.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7E8032
RGBrgb(126, 128, 50)
HSLhsl(62, 44%, 35%)
HSVhsv(62, 61%, 50%)
CMYKcmyk(1.6%, 0%, 60.9%, 49.8%)
CIE-LABlab(51.96, -11.75, 41.03)
CIE-LCHlch(51.96, 42.68, 105.99°)
OKLaboklab(58.18% -0.0353 0.0943)
OKLCHoklch(58.18% 0.101 110.5)
XYZxyz(16.8995, 20.1047, 6.0074)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8032 #343280
analogous
#805B32 #7E8032 #578032
triadic
#7E8032 #327E80 #80327E
tetradic
#7E8032 #32805B #343280 #803257
square
#7E8032 #32805B #343280 #803257
split-complementary
#7E8032 #325780 #5B3280
monochromatic
#272810 #535421 #7E8032 #A9AC43 #C2C468

Accessibility & contrast

On white

4.18
#7E8032 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7E8032 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8032
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8032#FFFFFF#000000##000000
##7E80321.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B29
Deuteranopia (green-blind)
#8A7D37
Tritanopia (blue-blind)
#86786F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e8032;
/* rgb */ color: rgb(126, 128, 50);
/* oklch */ color: oklch(58.2% 0.101 110.5);
Tailwind
colors: {
  custom: {
    50: '#a5a46d',
    500: '#7e8032',
    950: '#000000',
  },
}
SCSS
$custom: #7e8032;
$custom-light: #a5a46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8032",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 50
  },
  "hsl": {
    "h": 61.538,
    "s": 43.82,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.1007,
    "h": 110.5
  },
  "luminance": 0.20104
}

Semantic roles & 50–950 ramp

primary
#7E8032
secondary
#6462AC
accent
#54D458
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #7E8032

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

Preview Lab → · Contrast checker → · Palette generator →

#7E8032 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva