#7E8424#7E8424

#7E8424 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.0% C 0.116 H 113.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7E8424
RGBrgb(126, 132, 36)
HSLhsl(64, 57%, 33%)
HSVhsv(64, 73%, 52%)
CMYKcmyk(4.5%, 0%, 72.7%, 48.2%)
CIE-LABlab(53.02, -14.83, 48.20)
CIE-LCHlch(53.02, 50.43, 107.10°)
OKLaboklab(58.99% -0.0455 0.1072)
OKLCHoklch(58.99% 0.116 113)
XYZxyz(17.1744, 21.0659, 4.8301)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8424 #2A2484
analogous
#845A24 #7E8424 #4E8424
triadic
#7E8424 #247E84 #84247E
tetradic
#7E8424 #24845A #2A2484 #84244E
square
#7E8424 #24845A #2A2484 #84244E
split-complementary
#7E8424 #244E84 #5A2484
monochromatic
#22240A #505417 #7E8424 #ACB431 #C8D052

Accessibility & contrast

On white

4.03
#7E8424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7E8424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8424
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8424#FFFFFF#000000##000000
##7E84241.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E13
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#877C71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e8424;
/* rgb */ color: rgb(126, 132, 36);
/* oklch */ color: oklch(59.0% 0.116 113.0);
Tailwind
colors: {
  custom: {
    50: '#a6a766',
    500: '#7e8424',
    950: '#000000',
  },
}
SCSS
$custom: #7e8424;
$custom-light: #a6a766;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8424",
  "rgb": {
    "r": 126,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 63.75,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.11645,
    "h": 113
  },
  "luminance": 0.21066
}

Semantic roles & 50–950 ramp

primary
#7E8424
secondary
#5650B4
accent
#47E051
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8424

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

Preview Lab → · Contrast checker → · Palette generator →

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