#7E893D#7E893D

#7E893D is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.4% C 0.101 H 116.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7E893D
RGBrgb(126, 137, 61)
HSLhsl(69, 38%, 39%)
HSVhsv(69, 55%, 54%)
CMYKcmyk(8%, 0%, 55.5%, 46.3%)
CIE-LABlab(54.72, -15.64, 38.81)
CIE-LCHlch(54.72, 41.84, 111.96°)
OKLaboklab(60.43% -0.0451 0.0909)
OKLCHoklch(60.43% 0.101 116.4)
XYZxyz(18.3924, 22.6641, 7.8197)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E893D #483D89
analogous
#896E3D #7E893D #58893D
triadic
#7E893D #3D7E89 #893D7E
tetradic
#7E893D #3D896E #483D89 #893D58
square
#7E893D #3D896E #483D89 #893D58
split-complementary
#7E893D #3D5889 #6E3D89
monochromatic
#303417 #575F2A #7E893D #A4B251 #BAC57C

Accessibility & contrast

On white

3.80
#7E893D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#7E893D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E893D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E893D#FFFFFF#000000##000000
##7E893D1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e893d;
/* rgb */ color: rgb(126, 137, 61);
/* oklch */ color: oklch(60.4% 0.101 116.4);
Tailwind
colors: {
  custom: {
    50: '#a5ab75',
    500: '#7e893d',
    950: '#000000',
  },
}
SCSS
$custom: #7e893d;
$custom-light: #a5ab75;
$custom-dark: #000000;
JSON
{
  "hex": "#7e893d",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 61
  },
  "hsl": {
    "h": 68.684,
    "s": 38.384,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60427,
    "c": 0.10147,
    "h": 116.4
  },
  "luminance": 0.22664
}

Semantic roles & 50–950 ramp

primary
#7E893D
secondary
#7C73AE
accent
#59CE6A
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7E893D

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

Preview Lab → · Contrast checker → · Palette generator →

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