#7E8326#7E8326

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

Color values

HEX#7E8326
RGBrgb(126, 131, 38)
HSLhsl(63, 55%, 33%)
HSVhsv(63, 71%, 51%)
CMYKcmyk(3.8%, 0%, 71%, 48.6%)
CIE-LABlab(52.74, -14.19, 47.13)
CIE-LCHlch(52.74, 49.22, 106.75°)
OKLaboklab(58.77% -0.0435 0.1053)
OKLCHoklch(58.77% 0.114 112.4)
XYZxyz(17.0708, 20.8085, 4.9505)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8326 #2B2683
analogous
#835926 #7E8326 #4F8326
triadic
#7E8326 #267E83 #83267E
tetradic
#7E8326 #268359 #2B2683 #83264F
square
#7E8326 #268359 #2B2683 #83264F
split-complementary
#7E8326 #264F83 #592683
monochromatic
#23240A #505418 #7E8326 #ACB234 #C7CE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E8326#FFFFFF#000000##000000
##7E83261.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)
#8D7D17
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#877B71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e8326;
/* rgb */ color: rgb(126, 131, 38);
/* oklch */ color: oklch(58.8% 0.114 112.4);
Tailwind
colors: {
  custom: {
    50: '#a6a667',
    500: '#7e8326',
    950: '#000000',
  },
}
SCSS
$custom: #7e8326;
$custom-light: #a6a667;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8326",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 38
  },
  "hsl": {
    "h": 63.226,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5877,
    "c": 0.11392,
    "h": 112.4
  },
  "luminance": 0.20808
}

Semantic roles & 50–950 ramp

primary
#7E8326
secondary
#5852B2
accent
#49DE51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7E8326

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

Preview Lab → · Contrast checker → · Palette generator →

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