#7E8322#7E8322

#7E8322 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.117 H 112.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7E8322
RGBrgb(126, 131, 34)
HSLhsl(63, 59%, 32%)
HSVhsv(63, 74%, 51%)
CMYKcmyk(3.8%, 0%, 74%, 48.6%)
CIE-LABlab(52.71, -14.41, 48.67)
CIE-LCHlch(52.71, 50.76, 106.49°)
OKLaboklab(58.74% -0.0445 0.1078)
OKLCHoklch(58.74% 0.117 112.4)
XYZxyz(17.0098, 20.7841, 4.6288)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8322 #272283
analogous
#835822 #7E8322 #4D8322
triadic
#7E8322 #227E83 #83227E
tetradic
#7E8322 #228358 #272283 #83224D
square
#7E8322 #228358 #272283 #83224D
split-complementary
#7E8322 #224D83 #582283
monochromatic
#212209 #4F5215 #7E8322 #ADB42F #CAD14E

Accessibility & contrast

On white

4.07
#7E8322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7E8322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8322
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8322#FFFFFF#000000##000000
##7E83221.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D10
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#877B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e8322;
/* rgb */ color: rgb(126, 131, 34);
/* oklch */ color: oklch(58.7% 0.117 112.4);
Tailwind
colors: {
  custom: {
    50: '#a6a665',
    500: '#7e8322',
    950: '#000000',
  },
}
SCSS
$custom: #7e8322;
$custom-light: #a6a665;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8322",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 63.093,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5874,
    "c": 0.11664,
    "h": 112.4
  },
  "luminance": 0.20784
}

Semantic roles & 50–950 ramp

primary
#7E8322
secondary
#524CB4
accent
#46E24E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8322

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

Preview Lab → · Contrast checker → · Palette generator →

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