#7E8113#7E8113

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

Color values

HEX#7E8113
RGBrgb(126, 129, 19)
HSLhsl(62, 74%, 29%)
HSVhsv(62, 85%, 51%)
CMYKcmyk(2.3%, 0%, 85.3%, 49.4%)
CIE-LABlab(52.04, -13.96, 52.90)
CIE-LCHlch(52.04, 54.71, 104.79°)
OKLaboklab(58.18% -0.0445 0.114)
OKLCHoklch(58.18% 0.122 111.3)
XYZxyz(16.5726, 20.1836, 3.6388)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8113 #161381
analogous
#814D13 #7E8113 #478113
triadic
#7E8113 #137E81 #81137E
tetradic
#7E8113 #13814D #161381 #811347
square
#7E8113 #13814D #161381 #811347
split-complementary
#7E8113 #134781 #4D1381
monochromatic
#1A1B04 #4A4C0B #7E8113 #B2B61B #DBE02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E8113#FFFFFF#000000##000000
##7E81131.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)
#8C7D1E
Tritanopia (blue-blind)
#87786E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e8113;
/* rgb */ color: rgb(126, 129, 19);
/* oklch */ color: oklch(58.2% 0.122 111.3);
Tailwind
colors: {
  custom: {
    50: '#a7a55e',
    500: '#7e8113',
    950: '#000000',
  },
}
SCSS
$custom: #7e8113;
$custom-light: #a7a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8113",
  "rgb": {
    "r": 126,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 61.636,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.58181,
    "c": 0.12238,
    "h": 111.3
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#7E8113
secondary
#3D3AB6
accent
#37F13C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7E8113

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

Preview Lab → · Contrast checker → · Palette generator →

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