#7E8336#7E8336

#7E8336 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 58.9% C 0.101 H 112.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7E8336
RGBrgb(126, 131, 54)
HSLhsl(64, 42%, 36%)
HSVhsv(64, 59%, 51%)
CMYKcmyk(3.8%, 0%, 58.8%, 48.6%)
CIE-LABlab(52.88, -13.06, 40.13)
CIE-LCHlch(52.88, 42.21, 108.02°)
OKLaboklab(58.93% -0.0385 0.0929)
OKLCHoklch(58.93% 0.101 112.5)
XYZxyz(17.3867, 20.9349, 6.6142)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8336 #3B3683
analogous
#836236 #7E8336 #588336
triadic
#7E8336 #367E83 #83367E
tetradic
#7E8336 #368362 #3B3683 #833658
square
#7E8336 #368362 #3B3683 #833658
split-complementary
#7E8336 #365883 #623683
monochromatic
#2B2C12 #545824 #7E8336 #A8AE48 #BEC470

Accessibility & contrast

On white

4.05
#7E8336 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7E8336 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8336
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8336#FFFFFF#000000##000000
##7E83361.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D2E
Deuteranopia (green-blind)
#8C7F3B
Tritanopia (blue-blind)
#867C72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e8336;
/* rgb */ color: rgb(126, 131, 54);
/* oklch */ color: oklch(58.9% 0.101 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a670',
    500: '#7e8336',
    950: '#000000',
  },
}
SCSS
$custom: #7e8336;
$custom-light: #a5a670;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8336",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 63.896,
    "s": 41.622,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58926,
    "c": 0.10061,
    "h": 112.5
  },
  "luminance": 0.20935
}

Semantic roles & 50–950 ramp

primary
#7E8336
secondary
#6D68AC
accent
#56D15E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7E8336

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

Preview Lab → · Contrast checker → · Palette generator →

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