#7E8334#7E8334

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

Color values

HEX#7E8334
RGBrgb(126, 131, 52)
HSLhsl(64, 43%, 36%)
HSVhsv(64, 60%, 51%)
CMYKcmyk(3.8%, 0%, 60.3%, 48.6%)
CIE-LABlab(52.86, -13.22, 41.07)
CIE-LCHlch(52.86, 43.15, 107.84°)
OKLaboklab(58.9% -0.0392 0.0947)
OKLCHoklch(58.9% 0.102 112.5)
XYZxyz(17.3407, 20.9165, 6.3720)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8334 #393483
analogous
#836034 #7E8334 #568334
triadic
#7E8334 #347E83 #83347E
tetradic
#7E8334 #348360 #393483 #833456
square
#7E8334 #348360 #393483 #833456
split-complementary
#7E8334 #345683 #603483
monochromatic
#2A2B11 #545723 #7E8334 #A8AF45 #BFC56D

Accessibility & contrast

On white

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

On black

5.18
#7E8334 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8334
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8334#FFFFFF#000000##000000
##7E83341.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e8334;
/* rgb */ color: rgb(126, 131, 52);
/* oklch */ color: oklch(58.9% 0.102 112.5);
Tailwind
colors: {
  custom: {
    50: '#a5a66f',
    500: '#7e8334',
    950: '#000000',
  },
}
SCSS
$custom: #7e8334;
$custom-light: #a5a66f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8334",
  "rgb": {
    "r": 126,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 63.797,
    "s": 43.169,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.10248,
    "h": 112.5
  },
  "luminance": 0.20916
}

Semantic roles & 50–950 ramp

primary
#7E8334
secondary
#6A66AD
accent
#55D35D
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #7E8334

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

Preview Lab → · Contrast checker → · Palette generator →

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