#7E8624#7E8624

#7E8624 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.5% C 0.119 H 114.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E8624
RGBrgb(126, 134, 36)
HSLhsl(65, 58%, 33%)
HSVhsv(65, 73%, 53%)
CMYKcmyk(6%, 0%, 73.1%, 47.5%)
CIE-LABlab(53.61, -15.90, 48.78)
CIE-LCHlch(53.61, 51.31, 108.05°)
OKLaboklab(59.47% -0.0484 0.1084)
OKLCHoklch(59.47% 0.119 114.1)
XYZxyz(17.4482, 21.6135, 4.9214)
Luminance0.2161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8624 #2C2486
analogous
#865D24 #7E8624 #4D8624
triadic
#7E8624 #247E86 #86247E
tetradic
#7E8624 #24865D #2C2486 #86244D
square
#7E8624 #24865D #2C2486 #86244D
split-complementary
#7E8624 #244D86 #5D2486
monochromatic
#23260A #515617 #7E8624 #ABB631 #C7D153

Accessibility & contrast

On white

3.95
#7E8624 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7E8624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8624
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8624#FFFFFF#000000##000000
##7E86241.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#877E73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e8624;
/* rgb */ color: rgb(126, 134, 36);
/* oklch */ color: oklch(59.5% 0.119 114.1);
Tailwind
colors: {
  custom: {
    50: '#a6a966',
    500: '#7e8624',
    950: '#000000',
  },
}
SCSS
$custom: #7e8624;
$custom-light: #a6a966;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8624",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 64.898,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59467,
    "c": 0.11874,
    "h": 114.1
  },
  "luminance": 0.21613
}

Semantic roles & 50–950 ramp

primary
#7E8624
secondary
#5951B5
accent
#47E153
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8624

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

Preview Lab → · Contrast checker → · Palette generator →

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