#7E8D26#7E8D26

#7E8D26 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.2% C 0.126 H 117.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7E8D26
RGBrgb(126, 141, 38)
HSLhsl(69, 58%, 35%)
HSVhsv(69, 73%, 55%)
CMYKcmyk(10.6%, 0%, 73%, 44.7%)
CIE-LABlab(55.71, -19.44, 50.07)
CIE-LCHlch(55.71, 53.71, 111.22°)
OKLaboklab(61.15% -0.0581 0.1115)
OKLCHoklch(61.15% 0.126 117.5)
XYZxyz(18.4793, 23.6255, 5.4200)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8D26 #35268D
analogous
#8D6926 #7E8D26 #4A8D26
triadic
#7E8D26 #267E8D #8D267E
tetradic
#7E8D26 #268D69 #35268D #8D264A
square
#7E8D26 #268D69 #35268D #8D264A
split-complementary
#7E8D26 #264A8D #69268D
monochromatic
#282D0C #535D19 #7E8D26 #A9BD33 #C1D35B

Accessibility & contrast

On white

3.67
#7E8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7E8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8D26
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8D26#FFFFFF#000000##000000
##7E8D261.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978514
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#868579
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7e8d26;
/* rgb */ color: rgb(126, 141, 38);
/* oklch */ color: oklch(61.2% 0.126 117.5);
Tailwind
colors: {
  custom: {
    50: '#a6ae68',
    500: '#7e8d26',
    950: '#000000',
  },
}
SCSS
$custom: #7e8d26;
$custom-light: #a6ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8d26",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 68.738,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61154,
    "c": 0.12571,
    "h": 117.5
  },
  "luminance": 0.23625
}

Semantic roles & 50–950 ramp

primary
#7E8D26
secondary
#6557B8
accent
#47E15D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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