#7E8A37#7E8A37

#7E8A37 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.109 H 116.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7E8A37
RGBrgb(126, 138, 55)
HSLhsl(69, 43%, 38%)
HSVhsv(69, 60%, 54%)
CMYKcmyk(8.7%, 0%, 60.1%, 45.9%)
CIE-LABlab(54.96, -16.70, 41.98)
CIE-LCHlch(54.96, 45.18, 111.69°)
OKLaboklab(60.59% -0.0487 0.097)
OKLCHoklch(60.59% 0.109 116.7)
XYZxyz(18.3826, 22.8886, 7.0632)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8A37 #43378A
analogous
#8A6C37 #7E8A37 #548A37
triadic
#7E8A37 #377E8A #8A377E
tetradic
#7E8A37 #378A6C #43378A #8A3754
square
#7E8A37 #378A6C #43378A #8A3754
split-complementary
#7E8A37 #37548A #6C378A
monochromatic
#2E3214 #565E26 #7E8A37 #A6B648 #BBC874

Accessibility & contrast

On white

3.77
#7E8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7E8A37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8A37
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8A37#FFFFFF#000000##000000
##7E8A371.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832E
Deuteranopia (green-blind)
#92843C
Tritanopia (blue-blind)
#858378
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e8a37;
/* rgb */ color: rgb(126, 138, 55);
/* oklch */ color: oklch(60.6% 0.109 116.7);
Tailwind
colors: {
  custom: {
    50: '#a5ac71',
    500: '#7e8a37',
    950: '#000000',
  },
}
SCSS
$custom: #7e8a37;
$custom-light: #a5ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8a37",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 68.675,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60594,
    "c": 0.10854,
    "h": 116.7
  },
  "luminance": 0.22888
}

Semantic roles & 50–950 ramp

primary
#7E8A37
secondary
#766DB0
accent
#55D367
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #7E8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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