#7E861E#7E861E

#7E861E is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.4% C 0.122 H 114.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E861E
RGBrgb(126, 134, 30)
HSLhsl(65, 63%, 32%)
HSVhsv(65, 78%, 53%)
CMYKcmyk(6%, 0%, 77.6%, 47.5%)
CIE-LABlab(53.58, -16.20, 50.92)
CIE-LCHlch(53.58, 53.44, 107.64°)
OKLaboklab(59.43% -0.0499 0.1118)
OKLCHoklch(59.43% 0.122 114)
XYZxyz(17.3642, 21.5799, 4.4787)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E861E #261E86
analogous
#865A1E #7E861E #4A861E
triadic
#7E861E #1E7E86 #861E7E
tetradic
#7E861E #1E865A #261E86 #861E4A
square
#7E861E #1E865A #261E86 #861E4A
split-complementary
#7E861E #1E4A86 #5A1E86
monochromatic
#202208 #4F5413 #7E861E #ADB829 #CBD648

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E861E#FFFFFF#000000##000000
##7E861E1.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)
#907F05
Deuteranopia (green-blind)
#908127
Tritanopia (blue-blind)
#877E72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e861e;
/* rgb */ color: rgb(126, 134, 30);
/* oklch */ color: oklch(59.4% 0.122 114.0);
Tailwind
colors: {
  custom: {
    50: '#a7a963',
    500: '#7e861e',
    950: '#000000',
  },
}
SCSS
$custom: #7e861e;
$custom-light: #a7a963;
$custom-dark: #000000;
JSON
{
  "hex": "#7e861e",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 30
  },
  "hsl": {
    "h": 64.615,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59427,
    "c": 0.12244,
    "h": 114
  },
  "luminance": 0.2158
}

Semantic roles & 50–950 ramp

primary
#7E861E
secondary
#5047B8
accent
#41E64E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E861E

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

Preview Lab → · Contrast checker → · Palette generator →

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