#7E8029#7E8029

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

Color values

HEX#7E8029
RGBrgb(126, 128, 41)
HSLhsl(61, 51%, 33%)
HSVhsv(61, 68%, 50%)
CMYKcmyk(1.6%, 0%, 68%, 49.8%)
CIE-LABlab(51.88, -12.39, 45.01)
CIE-LCHlch(51.88, 46.69, 105.39°)
OKLaboklab(58.09% -0.0381 0.1014)
OKLCHoklch(58.09% 0.108 110.6)
XYZxyz(16.7241, 20.0345, 5.0835)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8029 #2B2980
analogous
#805629 #7E8029 #528029
triadic
#7E8029 #297E80 #80297E
tetradic
#7E8029 #298056 #2B2980 #802952
square
#7E8029 #298056 #2B2980 #802952
split-complementary
#7E8029 #295280 #562980
monochromatic
#23230B #50521A #7E8029 #ACAE38 #C7CA59

Accessibility & contrast

On white

4.19
#7E8029 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7E8029 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8029
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8029#FFFFFF#000000##000000
##7E80291.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e8029;
/* rgb */ color: rgb(126, 128, 41);
/* oklch */ color: oklch(58.1% 0.108 110.6);
Tailwind
colors: {
  custom: {
    50: '#a6a468',
    500: '#7e8029',
    950: '#000000',
  },
}
SCSS
$custom: #7e8029;
$custom-light: #a6a468;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8029",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 41
  },
  "hsl": {
    "h": 61.379,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58087,
    "c": 0.10828,
    "h": 110.6
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#7E8029
secondary
#5855AF
accent
#4DDB50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8029

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

Preview Lab → · Contrast checker → · Palette generator →

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