#7E8043#7E8043

#7E8043 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.4% C 0.083 H 110.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7E8043
RGBrgb(126, 128, 67)
HSLhsl(62, 31%, 38%)
HSVhsv(62, 48%, 50%)
CMYKcmyk(1.6%, 0%, 47.7%, 49.8%)
CIE-LABlab(52.15, -10.20, 32.67)
CIE-LCHlch(52.15, 34.22, 107.34°)
OKLaboklab(58.4% -0.029 0.0781)
OKLCHoklch(58.4% 0.083 110.4)
XYZxyz(17.3368, 20.2796, 8.3102)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8043 #454380
analogous
#806343 #7E8043 #5F8043
triadic
#7E8043 #437E80 #80437E
tetradic
#7E8043 #438063 #454380 #80435F
square
#7E8043 #438063 #454380 #80435F
split-complementary
#7E8043 #435F80 #634380
monochromatic
#2F3019 #56582E #7E8043 #A5A858 #BBBD81

Accessibility & contrast

On white

4.15
#7E8043 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7E8043 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8043
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8043#FFFFFF#000000##000000
##7E80431.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3E
Deuteranopia (green-blind)
#897D46
Tritanopia (blue-blind)
#857972
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e8043;
/* rgb */ color: rgb(126, 128, 67);
/* oklch */ color: oklch(58.4% 0.083 110.4);
Tailwind
colors: {
  custom: {
    50: '#a5a478',
    500: '#7e8043',
    950: '#000000',
  },
}
SCSS
$custom: #7e8043;
$custom-light: #a5a478;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8043",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 67
  },
  "hsl": {
    "h": 61.967,
    "s": 31.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58396,
    "c": 0.08329,
    "h": 110.4
  },
  "luminance": 0.20279
}

Semantic roles & 50–950 ramp

primary
#7E8043
secondary
#7977A8
accent
#60C764
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7E8043

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

Preview Lab → · Contrast checker → · Palette generator →

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