#7E8026#7E8026

#7E8026 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.1% C 0.111 H 110.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7E8026
RGBrgb(126, 128, 38)
HSLhsl(61, 54%, 33%)
HSVhsv(61, 70%, 50%)
CMYKcmyk(1.6%, 0%, 70.3%, 49.8%)
CIE-LABlab(51.85, -12.57, 46.25)
CIE-LCHlch(51.85, 47.93, 105.21°)
OKLaboklab(58.06% -0.039 0.1034)
OKLCHoklch(58.06% 0.111 110.6)
XYZxyz(16.6737, 20.0143, 4.8182)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8026 #282680
analogous
#805526 #7E8026 #518026
triadic
#7E8026 #267E80 #80267E
tetradic
#7E8026 #268055 #282680 #802651
square
#7E8026 #268055 #282680 #802651
split-complementary
#7E8026 #265180 #552680
monochromatic
#21220A #505118 #7E8026 #ACAF34 #CACC54

Accessibility & contrast

On white

4.20
#7E8026 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7E8026 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8026
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8026#FFFFFF#000000##000000
##7E80261.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A18
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#87786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e8026;
/* rgb */ color: rgb(126, 128, 38);
/* oklch */ color: oklch(58.1% 0.111 110.6);
Tailwind
colors: {
  custom: {
    50: '#a6a466',
    500: '#7e8026',
    950: '#000000',
  },
}
SCSS
$custom: #7e8026;
$custom-light: #a6a466;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8026",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 38
  },
  "hsl": {
    "h": 61.333,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58062,
    "c": 0.11053,
    "h": 110.6
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#7E8026
secondary
#5351B1
accent
#4ADE4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8026

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

Preview Lab → · Contrast checker → · Palette generator →

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