#7E883E#7E883E

#7E883E is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.2% C 0.099 H 115.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7E883E
RGBrgb(126, 136, 62)
HSLhsl(68, 37%, 39%)
HSVhsv(68, 54%, 53%)
CMYKcmyk(7.4%, 0%, 54.4%, 46.7%)
CIE-LABlab(54.44, -15.02, 37.98)
CIE-LCHlch(54.44, 40.84, 111.58°)
OKLaboklab(60.2% -0.0432 0.0892)
OKLCHoklch(60.2% 0.099 115.8)
XYZxyz(18.2781, 22.3920, 7.9157)
Luminance0.2239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E883E #483E88
analogous
#886D3E #7E883E #59883E
triadic
#7E883E #3E7E88 #883E7E
tetradic
#7E883E #3E886D #483E88 #883E59
square
#7E883E #3E886D #483E88 #883E59
split-complementary
#7E883E #3E5988 #6D3E88
monochromatic
#303418 #575E2B #7E883E #A4B053 #BAC47D

Accessibility & contrast

On white

3.83
#7E883E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7E883E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E883E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E883E#FFFFFF#000000##000000
##7E883E1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918237
Deuteranopia (green-blind)
#908342
Tritanopia (blue-blind)
#858177
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e883e;
/* rgb */ color: rgb(126, 136, 62);
/* oklch */ color: oklch(60.2% 0.099 115.8);
Tailwind
colors: {
  custom: {
    50: '#a5aa76',
    500: '#7e883e',
    950: '#000000',
  },
}
SCSS
$custom: #7e883e;
$custom-light: #a5aa76;
$custom-dark: #000000;
JSON
{
  "hex": "#7e883e",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 62
  },
  "hsl": {
    "h": 68.108,
    "s": 37.374,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60204,
    "c": 0.09914,
    "h": 115.8
  },
  "luminance": 0.22392
}

Semantic roles & 50–950 ramp

primary
#7E883E
secondary
#7C74AE
accent
#5ACD6A
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7E883E

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

Preview Lab → · Contrast checker → · Palette generator →

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