#7E883A#7E883A

#7E883A is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.2% C 0.103 H 115.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7E883A
RGBrgb(126, 136, 58)
HSLhsl(68, 40%, 38%)
HSVhsv(68, 57%, 53%)
CMYKcmyk(7.4%, 0%, 57.4%, 46.7%)
CIE-LABlab(54.40, -15.39, 39.91)
CIE-LCHlch(54.40, 42.77, 111.08°)
OKLaboklab(60.15% -0.0447 0.0929)
OKLCHoklch(60.15% 0.103 115.7)
XYZxyz(18.1724, 22.3497, 7.3588)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E883A #443A88
analogous
#886B3A #7E883A #57883A
triadic
#7E883A #3A7E88 #883A7E
tetradic
#7E883A #3A886B #443A88 #883A57
square
#7E883A #3A886B #443A88 #883A57
split-complementary
#7E883A #3A5788 #6B3A88
monochromatic
#2F3215 #565D28 #7E883A #A6B34C #BBC577

Accessibility & contrast

On white

3.84
#7E883A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7E883A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E883A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E883A#FFFFFF#000000##000000
##7E883A1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918232
Deuteranopia (green-blind)
#90833F
Tritanopia (blue-blind)
#858177
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e883a;
/* rgb */ color: rgb(126, 136, 58);
/* oklch */ color: oklch(60.2% 0.103 115.7);
Tailwind
colors: {
  custom: {
    50: '#a5aa73',
    500: '#7e883a',
    950: '#000000',
  },
}
SCSS
$custom: #7e883a;
$custom-light: #a5aa73;
$custom-dark: #000000;
JSON
{
  "hex": "#7e883a",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 58
  },
  "hsl": {
    "h": 67.692,
    "s": 40.206,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60154,
    "c": 0.10312,
    "h": 115.7
  },
  "luminance": 0.22349
}

Semantic roles & 50–950 ramp

primary
#7E883A
secondary
#776FAE
accent
#58D067
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7E883A

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

Preview Lab → · Contrast checker → · Palette generator →

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