#7E832E#7E832E

#7E832E is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 58.8% C 0.108 H 112.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7E832E
RGBrgb(126, 131, 46)
HSLhsl(64, 48%, 35%)
HSVhsv(64, 65%, 51%)
CMYKcmyk(3.8%, 0%, 64.9%, 48.6%)
CIE-LABlab(52.80, -13.67, 43.79)
CIE-LCHlch(52.80, 45.87, 107.34°)
OKLaboklab(58.84% -0.0412 0.0996)
OKLCHoklch(58.84% 0.108 112.5)
XYZxyz(17.2141, 20.8658, 5.7049)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E832E #332E83
analogous
#835D2E #7E832E #54832E
triadic
#7E832E #2E7E83 #832E7E
tetradic
#7E832E #2E835D #332E83 #832E54
square
#7E832E #2E835D #332E83 #832E54
split-complementary
#7E832E #2E5483 #5D2E83
monochromatic
#27280E #52561E #7E832E #AAB03E #C2C863

Accessibility & contrast

On white

4.06
#7E832E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7E832E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E832E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E832E#FFFFFF#000000##000000
##7E832E1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#867B71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e832e;
/* rgb */ color: rgb(126, 131, 46);
/* oklch */ color: oklch(58.8% 0.108 112.5);
Tailwind
colors: {
  custom: {
    50: '#a6a66b',
    500: '#7e832e',
    950: '#000000',
  },
}
SCSS
$custom: #7e832e;
$custom-light: #a6a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e832e",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 46
  },
  "hsl": {
    "h": 63.529,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.10775,
    "h": 112.5
  },
  "luminance": 0.20865
}

Semantic roles & 50–950 ramp

primary
#7E832E
secondary
#635EAF
accent
#50D858
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #7E832E

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

Preview Lab → · Contrast checker → · Palette generator →

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