#7E8325#7E8325

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

Color values

HEX#7E8325
RGBrgb(126, 131, 37)
HSLhsl(63, 56%, 33%)
HSVhsv(63, 72%, 51%)
CMYKcmyk(3.8%, 0%, 71.8%, 48.6%)
CIE-LABlab(52.73, -14.24, 47.53)
CIE-LCHlch(52.73, 49.62, 106.68°)
OKLaboklab(58.76% -0.0437 0.106)
OKLCHoklch(58.76% 0.115 112.4)
XYZxyz(17.0549, 20.8022, 4.8667)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8325 #2A2583
analogous
#835925 #7E8325 #4F8325
triadic
#7E8325 #257E83 #83257E
tetradic
#7E8325 #258359 #2A2583 #83254F
square
#7E8325 #258359 #2A2583 #83254F
split-complementary
#7E8325 #254F83 #592583
monochromatic
#22240A #505318 #7E8325 #ACB332 #C8CF54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E8325#FFFFFF#000000##000000
##7E83251.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)
#8D7D15
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#877B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e8325;
/* rgb */ color: rgb(126, 131, 37);
/* oklch */ color: oklch(58.8% 0.115 112.4);
Tailwind
colors: {
  custom: {
    50: '#a6a666',
    500: '#7e8325',
    950: '#000000',
  },
}
SCSS
$custom: #7e8325;
$custom-light: #a6a666;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8325",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 37
  },
  "hsl": {
    "h": 63.191,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58763,
    "c": 0.11463,
    "h": 112.4
  },
  "luminance": 0.20802
}

Semantic roles & 50–950 ramp

primary
#7E8325
secondary
#5651B3
accent
#49DF51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8325

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

Preview Lab → · Contrast checker → · Palette generator →

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