#7E8110#7E8110

#7E8110 is a mid, vivid yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.124 H 111.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E8110
RGBrgb(126, 129, 16)
HSLhsl(62, 78%, 28%)
HSVhsv(62, 88%, 51%)
CMYKcmyk(2.3%, 0%, 87.6%, 49.4%)
CIE-LABlab(52.03, -14.05, 53.63)
CIE-LCHlch(52.03, 55.44, 104.68°)
OKLaboklab(58.17% -0.045 0.1151)
OKLCHoklch(58.17% 0.124 111.4)
XYZxyz(16.5486, 20.1740, 3.5124)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8110 #131081
analogous
#814B10 #7E8110 #458110
triadic
#7E8110 #107E81 #81107E
tetradic
#7E8110 #10814B #131081 #811045
square
#7E8110 #10814B #131081 #811045
split-complementary
#7E8110 #104581 #4B1081
monochromatic
#1B1B03 #494B09 #7E8110 #B3B717 #DFE427

Accessibility & contrast

On white

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

On black

5.03
#7E8110 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8110
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8110#FFFFFF#000000##000000
##7E81101.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e8110;
/* rgb */ color: rgb(126, 129, 16);
/* oklch */ color: oklch(58.2% 0.124 111.4);
Tailwind
colors: {
  custom: {
    50: '#a7a55d',
    500: '#7e8110',
    950: '#000000',
  },
}
SCSS
$custom: #7e8110;
$custom-light: #a7a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8110",
  "rgb": {
    "r": 126,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 61.593,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.58169,
    "c": 0.12353,
    "h": 111.4
  },
  "luminance": 0.20174
}

Semantic roles & 50–950 ramp

primary
#7E8110
secondary
#3936B7
accent
#33F438
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7E8110

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

Preview Lab → · Contrast checker → · Palette generator →

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