#7E8119#7E8119

#7E8119 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.120 H 111.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7E8119
RGBrgb(126, 129, 25)
HSLhsl(62, 68%, 30%)
HSVhsv(62, 81%, 51%)
CMYKcmyk(2.3%, 0%, 80.6%, 49.4%)
CIE-LABlab(52.07, -13.75, 51.19)
CIE-LCHlch(52.07, 53.00, 105.03°)
OKLaboklab(58.21% -0.0435 0.1114)
OKLCHoklch(58.21% 0.12 111.3)
XYZxyz(16.6305, 20.2068, 3.9438)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8119 #1C1981
analogous
#815019 #7E8119 #4A8119
triadic
#7E8119 #197E81 #81197E
tetradic
#7E8119 #198150 #1C1981 #81194A
square
#7E8119 #198150 #1C1981 #81194A
split-complementary
#7E8119 #194A81 #501981
monochromatic
#1A1A05 #4C4E0F #7E8119 #B0B423 #D5D93B

Accessibility & contrast

On white

4.17
#7E8119 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7E8119 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8119
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8119#FFFFFF#000000##000000
##7E81191.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e8119;
/* rgb */ color: rgb(126, 129, 25);
/* oklch */ color: oklch(58.2% 0.120 111.3);
Tailwind
colors: {
  custom: {
    50: '#a7a560',
    500: '#7e8119',
    950: '#000000',
  },
}
SCSS
$custom: #7e8119;
$custom-light: #a7a560;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8119",
  "rgb": {
    "r": 126,
    "g": 129,
    "b": 25
  },
  "hsl": {
    "h": 61.731,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5821,
    "c": 0.11963,
    "h": 111.3
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#7E8119
secondary
#4441B5
accent
#3DEA42
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7E8119

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

Preview Lab → · Contrast checker → · Palette generator →

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