#7E892E#7E892E

#7E892E is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.3% C 0.115 H 115.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7E892E
RGBrgb(126, 137, 46)
HSLhsl(67, 50%, 36%)
HSVhsv(67, 66%, 54%)
CMYKcmyk(8%, 0%, 66.4%, 46.3%)
CIE-LABlab(54.58, -16.86, 45.66)
CIE-LCHlch(54.58, 48.67, 110.26°)
OKLaboklab(60.26% -0.0501 0.1035)
OKLCHoklch(60.26% 0.115 115.8)
XYZxyz(18.0434, 22.5245, 5.9814)
Luminance0.2252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E892E #392E89
analogous
#89662E #7E892E #50892E
triadic
#7E892E #2E7E89 #892E7E
tetradic
#7E892E #2E8966 #392E89 #892E50
square
#7E892E #2E8966 #392E89 #892E50
split-complementary
#7E892E #2E5089 #662E89
monochromatic
#2A2D0F #545B1F #7E892E #A8B73D #BFCC66

Accessibility & contrast

On white

3.81
#7E892E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7E892E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E892E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E892E#FFFFFF#000000##000000
##7E892E1.003.815.505.50
#FFFFFF3.811.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928222
Deuteranopia (green-blind)
#928334
Tritanopia (blue-blind)
#868176
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e892e;
/* rgb */ color: rgb(126, 137, 46);
/* oklch */ color: oklch(60.3% 0.115 115.8);
Tailwind
colors: {
  custom: {
    50: '#a6ab6c',
    500: '#7e892e',
    950: '#000000',
  },
}
SCSS
$custom: #7e892e;
$custom-light: #a6ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e892e",
  "rgb": {
    "r": 126,
    "g": 137,
    "b": 46
  },
  "hsl": {
    "h": 67.253,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60264,
    "c": 0.11501,
    "h": 115.8
  },
  "luminance": 0.22524
}

Semantic roles & 50–950 ramp

primary
#7E892E
secondary
#6A60B2
accent
#4FD95F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E892E

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

Preview Lab → · Contrast checker → · Palette generator →

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