#7E893F#7E893F

#7E893F is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.5% C 0.099 H 116.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7E893F
RGBrgb(126, 137, 63)
HSLhsl(69, 37%, 39%)
HSVhsv(69, 54%, 54%)
CMYKcmyk(8%, 0%, 54%, 46.3%)
CIE-LABlab(54.75, -15.46, 37.83)
CIE-LCHlch(54.75, 40.87, 112.22°)
OKLaboklab(60.45% -0.0443 0.089)
OKLCHoklch(60.45% 0.099 116.5)
XYZxyz(18.4473, 22.6860, 8.1087)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E893F #4A3F89
analogous
#896F3F #7E893F #59893F
triadic
#7E893F #3F7E89 #893F7E
tetradic
#7E893F #3F896F #4A3F89 #893F59
square
#7E893F #3F896F #4A3F89 #893F59
split-complementary
#7E893F #3F5989 #6F3F89
monochromatic
#313518 #575F2C #7E893F #A3B155 #BAC47E

Accessibility & contrast

On white

3.79
#7E893F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#7E893F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E893F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E893F#FFFFFF#000000##000000
##7E893F1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918338
Deuteranopia (green-blind)
#908443
Tritanopia (blue-blind)
#858278
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e893f;
/* rgb */ color: rgb(126, 137, 63);
/* oklch */ color: oklch(60.5% 0.099 116.5);
Tailwind
colors: {
  custom: {
    50: '#a5ab76',
    500: '#7e893f',
    950: '#000000',
  },
}
SCSS
$custom: #7e893f;
$custom-light: #a5ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#7e893f",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 63
  },
  "hsl": {
    "h": 68.919,
    "s": 37,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60453,
    "c": 0.09945,
    "h": 116.5
  },
  "luminance": 0.22686
}

Semantic roles & 50–950 ramp

primary
#7E893F
secondary
#7E76AE
accent
#5BCD6C
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7E893F

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

Preview Lab → · Contrast checker → · Palette generator →

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