#7E8737#7E8737

#7E8737 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 59.9% C 0.105 H 115.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7E8737
RGBrgb(126, 135, 55)
HSLhsl(67, 42%, 37%)
HSVhsv(67, 59%, 53%)
CMYKcmyk(6.7%, 0%, 59.3%, 47.1%)
CIE-LABlab(54.07, -15.11, 40.99)
CIE-LCHlch(54.07, 43.69, 110.24°)
OKLaboklab(59.88% -0.0442 0.0949)
OKLCHoklch(59.88% 0.105 115)
XYZxyz(17.9581, 22.0397, 6.9218)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8737 #403787
analogous
#876837 #7E8737 #568737
triadic
#7E8737 #377E87 #87377E
tetradic
#7E8737 #378768 #403787 #873756
square
#7E8737 #378768 #403787 #873756
split-complementary
#7E8737 #375687 #683787
monochromatic
#2D3014 #555C25 #7E8737 #A7B249 #BCC673

Accessibility & contrast

On white

3.88
#7E8737 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7E8737 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8737
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8737#FFFFFF#000000##000000
##7E87371.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812E
Deuteranopia (green-blind)
#8F823C
Tritanopia (blue-blind)
#868076
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e8737;
/* rgb */ color: rgb(126, 135, 55);
/* oklch */ color: oklch(59.9% 0.105 115.0);
Tailwind
colors: {
  custom: {
    50: '#a5a971',
    500: '#7e8737',
    950: '#000000',
  },
}
SCSS
$custom: #7e8737;
$custom-light: #a5a971;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8737",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 55
  },
  "hsl": {
    "h": 66.75,
    "s": 42.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59882,
    "c": 0.10469,
    "h": 115
  },
  "luminance": 0.22039
}

Semantic roles & 50–950 ramp

primary
#7E8737
secondary
#736BAF
accent
#56D264
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7E8737

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

Preview Lab → · Contrast checker → · Palette generator →

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