#7E8926#7E8926

#7E8926 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.2% C 0.121 H 115.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7E8926
RGBrgb(126, 137, 38)
HSLhsl(67, 57%, 34%)
HSVhsv(67, 72%, 54%)
CMYKcmyk(8%, 0%, 72.3%, 46.3%)
CIE-LABlab(54.52, -17.36, 48.90)
CIE-LCHlch(54.52, 51.89, 109.55°)
OKLaboklab(60.2% -0.0523 0.109)
OKLCHoklch(60.2% 0.121 115.6)
XYZxyz(17.9002, 22.4672, 5.2270)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8926 #312689
analogous
#896326 #7E8926 #4D8926
triadic
#7E8926 #267E89 #89267E
tetradic
#7E8926 #268963 #312689 #89264D
square
#7E8926 #268963 #312689 #89264D
split-complementary
#7E8926 #264D89 #632689
monochromatic
#26290B #525919 #7E8926 #AAB933 #C3D159

Accessibility & contrast

On white

3.82
#7E8926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7E8926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8926
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8926#FFFFFF#000000##000000
##7E89261.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938215
Deuteranopia (green-blind)
#92832E
Tritanopia (blue-blind)
#868176
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e8926;
/* rgb */ color: rgb(126, 137, 38);
/* oklch */ color: oklch(60.2% 0.121 115.6);
Tailwind
colors: {
  custom: {
    50: '#a6ab67',
    500: '#7e8926',
    950: '#000000',
  },
}
SCSS
$custom: #7e8926;
$custom-light: #a6ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8926",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 66.667,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60197,
    "c": 0.12092,
    "h": 115.6
  },
  "luminance": 0.22467
}

Semantic roles & 50–950 ramp

primary
#7E8926
secondary
#6055B6
accent
#48E059
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E8926

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

Preview Lab → · Contrast checker → · Palette generator →

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