#7E893A#7E893A

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

Color values

HEX#7E893A
RGBrgb(126, 137, 58)
HSLhsl(68, 41%, 38%)
HSVhsv(68, 58%, 54%)
CMYKcmyk(8%, 0%, 57.7%, 46.3%)
CIE-LABlab(54.69, -15.91, 40.24)
CIE-LCHlch(54.69, 43.28, 111.58°)
OKLaboklab(60.39% -0.0462 0.0937)
OKLCHoklch(60.39% 0.104 116.2)
XYZxyz(18.3139, 22.6326, 7.4059)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E893A #453A89
analogous
#896C3A #7E893A #56893A
triadic
#7E893A #3A7E89 #893A7E
tetradic
#7E893A #3A896C #453A89 #893A56
square
#7E893A #3A896C #453A89 #893A56
split-complementary
#7E893A #3A5689 #6C3A89
monochromatic
#2F3316 #565E28 #7E893A #A5B44D #BBC678

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E893A#FFFFFF#000000##000000
##7E893A1.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)
#928232
Deuteranopia (green-blind)
#91833F
Tritanopia (blue-blind)
#858278
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e893a;
/* rgb */ color: rgb(126, 137, 58);
/* oklch */ color: oklch(60.4% 0.104 116.2);
Tailwind
colors: {
  custom: {
    50: '#a5ab73',
    500: '#7e893a',
    950: '#000000',
  },
}
SCSS
$custom: #7e893a;
$custom-light: #a5ab73;
$custom-dark: #000000;
JSON
{
  "hex": "#7e893a",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 58
  },
  "hsl": {
    "h": 68.354,
    "s": 40.513,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60391,
    "c": 0.10442,
    "h": 116.2
  },
  "luminance": 0.22632
}

Semantic roles & 50–950 ramp

primary
#7E893A
secondary
#7970AF
accent
#57D068
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7E893A

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

Preview Lab → · Contrast checker → · Palette generator →

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