#7E893C#7E893C

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

Color values

HEX#7E893C
RGBrgb(126, 137, 60)
HSLhsl(69, 39%, 39%)
HSVhsv(69, 56%, 54%)
CMYKcmyk(8%, 0%, 56.2%, 46.3%)
CIE-LABlab(54.71, -15.74, 39.29)
CIE-LCHlch(54.71, 42.32, 111.83°)
OKLaboklab(60.42% -0.0454 0.0918)
OKLCHoklch(60.42% 0.102 116.3)
XYZxyz(18.3658, 22.6534, 7.6791)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E893C #473C89
analogous
#896D3C #7E893C #57893C
triadic
#7E893C #3C7E89 #893C7E
tetradic
#7E893C #3C896D #473C89 #893C57
square
#7E893C #3C896D #473C89 #893C57
split-complementary
#7E893C #3C5789 #6D3C89
monochromatic
#303417 #575E29 #7E893C #A4B250 #BAC57A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E893C#FFFFFF#000000##000000
##7E893C1.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)
#928234
Deuteranopia (green-blind)
#918340
Tritanopia (blue-blind)
#858278
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e893c;
/* rgb */ color: rgb(126, 137, 60);
/* oklch */ color: oklch(60.4% 0.102 116.3);
Tailwind
colors: {
  custom: {
    50: '#a5ab74',
    500: '#7e893c',
    950: '#000000',
  },
}
SCSS
$custom: #7e893c;
$custom-light: #a5ab74;
$custom-dark: #000000;
JSON
{
  "hex": "#7e893c",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 60
  },
  "hsl": {
    "h": 68.571,
    "s": 39.086,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60415,
    "c": 0.10247,
    "h": 116.3
  },
  "luminance": 0.22653
}

Semantic roles & 50–950 ramp

primary
#7E893C
secondary
#7B72AF
accent
#59CF6A
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7E893C

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

Preview Lab → · Contrast checker → · Palette generator →

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