#7E8024#7E8024

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

Color values

HEX#7E8024
RGBrgb(126, 128, 36)
HSLhsl(61, 56%, 32%)
HSVhsv(61, 72%, 50%)
CMYKcmyk(1.6%, 0%, 71.9%, 49.8%)
CIE-LABlab(51.84, -12.69, 47.04)
CIE-LCHlch(51.84, 48.72, 105.09°)
OKLaboklab(58.05% -0.0395 0.1047)
OKLCHoklch(58.05% 0.112 110.7)
XYZxyz(16.6423, 20.0018, 4.6528)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8024 #262480
analogous
#805424 #7E8024 #508024
triadic
#7E8024 #247E80 #80247E
tetradic
#7E8024 #248054 #262480 #802450
square
#7E8024 #248054 #262480 #802450
split-complementary
#7E8024 #245080 #542480
monochromatic
#202009 #4F5017 #7E8024 #ADB031 #CBCE50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E8024#FFFFFF#000000##000000
##7E80241.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)
#8A7A15
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#87786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e8024;
/* rgb */ color: rgb(126, 128, 36);
/* oklch */ color: oklch(58.0% 0.112 110.7);
Tailwind
colors: {
  custom: {
    50: '#a6a465',
    500: '#7e8024',
    950: '#000000',
  },
}
SCSS
$custom: #7e8024;
$custom-light: #a6a465;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8024",
  "rgb": {
    "r": 126,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 61.304,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58046,
    "c": 0.11194,
    "h": 110.7
  },
  "luminance": 0.20001
}

Semantic roles & 50–950 ramp

primary
#7E8024
secondary
#504EB2
accent
#48DF4C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8024

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

Preview Lab → · Contrast checker → · Palette generator →

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